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

The slice of bytes starts with a valid blob of given size.

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

impl Debug for StreamBlobLength
[src]

Formats the value using the given formatter.

impl PartialEq for StreamBlobLength
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.