pub enum FrameHeaderStatus {
Complete(FrameHeader),
Incomplete {
src_size: usize,
},
}Expand description
What get_frame_header() found at the start of src.
Variants§
Complete(FrameHeader)
The whole header was in src.
Incomplete
src ends before the header does: decoding it needs src_size
bytes of the frame (in total, not in addition to src).
Trait Implementations§
Source§impl Clone for FrameHeaderStatus
impl Clone for FrameHeaderStatus
impl Copy for FrameHeaderStatus
Auto Trait Implementations§
impl Forget for FrameHeaderStatus
impl Freeze for FrameHeaderStatus
impl Move for FrameHeaderStatus
impl RefUnwindSafe for FrameHeaderStatus
impl Send for FrameHeaderStatus
impl Sync for FrameHeaderStatus
impl Unpin for FrameHeaderStatus
impl UnsafeUnpin for FrameHeaderStatus
impl UnwindSafe for FrameHeaderStatus
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