enum BufferContents {
Invalid,
Partial,
Valid,
}
Variants§
Invalid
Contains an invalid message as a header.
Partial
Might contain a valid message if we receive more. Perhaps totally empty!
Valid
Contains a valid frame as a prefix.
Auto Trait Implementations§
impl Freeze for BufferContents
impl RefUnwindSafe for BufferContents
impl Send for BufferContents
impl Sync for BufferContents
impl Unpin for BufferContents
impl UnwindSafe for BufferContents
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
§impl<Tail, T> Prepend<T> for Tail
impl<Tail, T> Prepend<T> for Tail
§type PreprendResult = Tail
type PreprendResult = Tail
The Resulting [
TupleList
], of an [Prepend::prepend()
] call,
including the prepended entry.