Enum resol_vbus::StreamBlobLength
[−]
[src]
pub enum StreamBlobLength { BlobLength(usize), Partial, Malformed, }
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
impl Debug for StreamBlobLength
[src]
impl PartialEq for StreamBlobLength
[src]
fn eq(&self, __arg_0: &StreamBlobLength) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &StreamBlobLength) -> bool
This method tests for !=
.