[][src]Enum wishbone_bridge::BridgeError

pub enum BridgeError {
    NoBridgeSpecified,
    LengthError(usizeusize),
    USBError(Error),
    IoError(Error),
    NotConnected,
    InvalidAddress,
    WrongResponse,
    ProtocolNotSupported,
    Timeout,
}

Errors that are generated while creating or using the Wishbone Bridge.

Variants

NoBridgeSpecified

No bridge was specified (i.e. it was None)

LengthError(usizeusize)

Expected one size, but got another

USBError(Error)

USB subsystem returned an error

IoError(Error)

std::io error

NotConnected

Attempted to communicate with the bridge, but it wasn't connected

InvalidAddress

The address or path was incorrect

WrongResponse

We got something weird back from the bridge

ProtocolNotSupported

Requested protocol is not supported on this platform

Timeout

We got nothing back from the bridge

Trait Implementations

impl Debug for BridgeError[src]

impl Display for BridgeError[src]

impl From<Error> for BridgeError[src]

impl From<Error> for BridgeError[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> ToString for T where
    T: Display + ?Sized
[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.