[][src]Enum smbus_request_parser::SMBusProtocolError

pub enum SMBusProtocolError {
    WrongDirection(Option<Direction>),
    QuickCommandUnsupported,
    UnsupportedBlockLength(u8),
    ReadByteUnsupported,
    WriteByteUnsupported,
    InvalidWriteBound(u8),
    InvalidReadBound(u8),
    InvalidWriteBlockSize(u8),
    InvalidReadBlockSize(u8),
    InvalidReadRegister(u8),
    InvalidWriteRegister(u8),
}

Variants

WrongDirection(Option<Direction>)
QuickCommandUnsupported
UnsupportedBlockLength(u8)
ReadByteUnsupported
WriteByteUnsupported
InvalidWriteBound(u8)
InvalidReadBound(u8)
InvalidWriteBlockSize(u8)
InvalidReadBlockSize(u8)
InvalidReadRegister(u8)
InvalidWriteRegister(u8)

Trait Implementations

impl Clone for SMBusProtocolError[src]

impl Copy for SMBusProtocolError[src]

impl Debug for SMBusProtocolError[src]

impl Eq for SMBusProtocolError[src]

impl PartialEq<SMBusProtocolError> for SMBusProtocolError[src]

impl StructuralEq for SMBusProtocolError[src]

impl StructuralPartialEq for SMBusProtocolError[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.