pub enum StreamKind {
Subgroup,
Fetch,
Datagram,
Request,
}Expand description
The kind of stream an event refers to.
Variants§
Subgroup
Subgroup data stream.
Fetch
Fetch data stream.
Datagram
Datagram.
Request
Request stream: the bidirectional stream one request and its response travel on.
Draft-19 Section 3.3 moved requests off the control plane and gave each one a bidirectional stream that begins with the request message. This is the only kind here that is not a data stream, and it is named because an observer that could not name it would see a request message with no stream to attach it to.
Trait Implementations§
Source§impl Clone for StreamKind
impl Clone for StreamKind
Source§fn clone(&self) -> StreamKind
fn clone(&self) -> StreamKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for StreamKind
Source§impl Debug for StreamKind
impl Debug for StreamKind
impl Eq for StreamKind
Source§impl PartialEq for StreamKind
impl PartialEq for StreamKind
impl StructuralPartialEq for StreamKind
Auto Trait Implementations§
impl Freeze for StreamKind
impl RefUnwindSafe for StreamKind
impl Send for StreamKind
impl Sync for StreamKind
impl Unpin for StreamKind
impl UnsafeUnpin for StreamKind
impl UnwindSafe for StreamKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more