pub struct HeaderRaw { /* private fields */ }Expand description
The raw byte header representation, useful for encoding/decoding directly.
Implementations
sourceimpl HeaderRaw
impl HeaderRaw
sourcepub fn serialize_into(&self, buf: &mut Vec<u8>) -> Result<(), MessageError>
pub fn serialize_into(&self, buf: &mut Vec<u8>) -> Result<(), MessageError>
Writes the header into the given buffer, which must have a capacity of at least 4.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for HeaderRaw
impl Send for HeaderRaw
impl Sync for HeaderRaw
impl Unpin for HeaderRaw
impl UnwindSafe for HeaderRaw
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