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
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

Formats the value using the given formatter. Read more

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

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.