[][src]Enum async_resol_vbus::StreamBlobLength

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<StreamBlobLength> for StreamBlobLength[src]

impl StructuralPartialEq for StreamBlobLength[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.