pub enum StreamBlobLength {
BlobLength(usize),
Partial,
Malformed,
}
Expand description
Provides information whether a slice of bytes contains a valid blob of data.
Variants§
BlobLength(usize)
The slice of bytes starts with a valid blob of given size.
Partial
The slice of bytes may start with a valid blob, but is still incomplete to be certain.
Malformed
The slice of bytes does not start with a valid blob.
Trait Implementations§
Source§impl Debug for StreamBlobLength
impl Debug for StreamBlobLength
Source§impl PartialEq for StreamBlobLength
impl PartialEq for StreamBlobLength
impl StructuralPartialEq for StreamBlobLength
Auto Trait Implementations§
impl Freeze for StreamBlobLength
impl RefUnwindSafe for StreamBlobLength
impl Send for StreamBlobLength
impl Sync for StreamBlobLength
impl Unpin for StreamBlobLength
impl UnwindSafe for StreamBlobLength
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