Enum ntex_h2::MessageKind
source · [−]pub enum MessageKind {
Headers {
pseudo: PseudoHeaders,
headers: HeaderMap,
eof: bool,
},
Data(Bytes, Capacity),
Eof(StreamEof),
Empty,
}Variants
Headers
Data(Bytes, Capacity)
Eof(StreamEof)
Empty
Implementations
sourceimpl MessageKind
impl MessageKind
pub fn take(&mut self) -> MessageKind
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for MessageKind
impl !Send for MessageKind
impl !Sync for MessageKind
impl Unpin for MessageKind
impl !UnwindSafe for MessageKind
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more