pub enum Decoded {
Frame(Frame),
Raw(Vec<u8>),
}Expand description
One item produced by Decoder.
Variants§
Frame(Frame)
Raw(Vec<u8>)
Bytes that didn’t form a valid frame: plain-text output such as boot or panic messages, or a corrupted/truncated frame.
Trait Implementations§
impl Eq for Decoded
impl StructuralPartialEq for Decoded
Auto Trait Implementations§
impl Freeze for Decoded
impl RefUnwindSafe for Decoded
impl Send for Decoded
impl Sync for Decoded
impl Unpin for Decoded
impl UnsafeUnpin for Decoded
impl UnwindSafe for Decoded
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