[][src]Enum i2cbus_api::client::remote::RequestType

pub enum RequestType {
    Api,
    List,
    ReadByte {
        bus_id: BusId,
        addr: Addr,
    },
    ReadBytes {
        bus_id: BusId,
        addr: Addr,
        num_bytes: NumBytes,
    },
    ReadReg {
        bus_id: BusId,
        addr: Addr,
        reg: Reg,
        num_bytes: NumBytes,
    },
    WriteByte {
        bus_id: BusId,
        addr: Addr,
        value: Value,
    },
    WriteByteReg {
        bus_id: BusId,
        addr: Addr,
        reg: Reg,
        value: Value,
    },
    WriteBytes {
        bus_id: BusId,
        addr: Addr,
        values: Values,
    },
    WriteBytesReg {
        bus_id: BusId,
        addr: Addr,
        reg: Reg,
        values: Values,
    },
}

Variants

Api
List
ReadByte

Fields of ReadByte

bus_id: BusIdaddr: Addr
ReadBytes

Fields of ReadBytes

bus_id: BusIdaddr: Addrnum_bytes: NumBytes
ReadReg

Fields of ReadReg

bus_id: BusIdaddr: Addrreg: Regnum_bytes: NumBytes
WriteByte

Fields of WriteByte

bus_id: BusIdaddr: Addrvalue: Value
WriteByteReg

Fields of WriteByteReg

bus_id: BusIdaddr: Addrreg: Regvalue: Value
WriteBytes

Fields of WriteBytes

bus_id: BusIdaddr: Addrvalues: Values
WriteBytesReg

Fields of WriteBytesReg

bus_id: BusIdaddr: Addrreg: Regvalues: Values

Trait Implementations

impl Clone for RequestType[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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.