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

ApiListReadByte

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]

default fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for RequestType

impl Sync for RequestType

Blanket Implementations

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

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

The type returned in the event of a conversion error.

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

impl<T> Erased for T