Enum resol_vbus::StreamBlobLength [−][src]
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.
Tuple Fields of BlobLength
0: usize
The slice of bytes may start with a valid blob, but is still incomplete to be certain.
The slice of bytes does not start with a valid blob.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.