enum UniStreamKind {
Control,
Data,
}Expand description
What a unidirectional stream’s leading varint says the stream is.
Variants§
Control
One direction of the control plane: CONTROL_STREAM_TYPE.
Data
Anything else — a subgroup or fetch header, padding, or a type this crate does not know. All of them are forwarded as data.
Trait Implementations§
Source§impl Clone for UniStreamKind
impl Clone for UniStreamKind
Source§fn clone(&self) -> UniStreamKind
fn clone(&self) -> UniStreamKind
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 UniStreamKind
Source§impl Debug for UniStreamKind
impl Debug for UniStreamKind
impl Eq for UniStreamKind
Source§impl PartialEq for UniStreamKind
impl PartialEq for UniStreamKind
impl StructuralPartialEq for UniStreamKind
Auto Trait Implementations§
impl Freeze for UniStreamKind
impl RefUnwindSafe for UniStreamKind
impl Send for UniStreamKind
impl Sync for UniStreamKind
impl Unpin for UniStreamKind
impl UnsafeUnpin for UniStreamKind
impl UnwindSafe for UniStreamKind
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