enum BufferState {
MessageTooLarge,
OneMessage,
NeedsMoreData,
}
Variants§
MessageTooLarge
Buffer contains a header that introduces a message that is too long.
OneMessage
Buffer contains a full header and body.
NeedsMoreData
We need more data to see a header and complete body.
Auto Trait Implementations§
impl Freeze for BufferState
impl RefUnwindSafe for BufferState
impl Send for BufferState
impl Sync for BufferState
impl Unpin for BufferState
impl UnwindSafe for BufferState
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.