pub struct Preamble {
pub kind: FrameKind,
pub header_len: u64,
}Expand description
A parsed stream preamble.
Fields§
§kind: FrameKindStream kind.
header_len: u64Length of the CBOR header that follows, in bytes.
Trait Implementations§
impl Copy for Preamble
impl Eq for Preamble
impl StructuralPartialEq for Preamble
Auto Trait Implementations§
impl Freeze for Preamble
impl RefUnwindSafe for Preamble
impl Send for Preamble
impl Sync for Preamble
impl Unpin for Preamble
impl UnsafeUnpin for Preamble
impl UnwindSafe for Preamble
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