Skip to main content

Crate fidl_next_common_fuchsia_hardware_i2c

Crate fidl_next_common_fuchsia_hardware_i2c 

Source

Re-exports§

pub use self::natural::*;

Modules§

compat
Compatibility shims which mimic some API surfaces of the current Rust bindings.
device
generic
natural
wire
wire_optional

Structs§

Device
The type corresponding to the Device protocol.

Constants§

MAX_COUNT_TRANSACTIONS
The maximum number of transactions that can be specified in a call to Transfer.
MAX_I2_C_NAME_LEN
Maximum length of the I2C Channel name.
MAX_TRANSFER_SIZE
Clients should be aware of the max channel message size when using large transfers or many transactions. It is possible to generate a message that uses values less than the limits below but is still too big for the channel.

Traits§

DeviceClientHandler
A client handler for the Device protocol.
DeviceServerHandler
A server handler for the Device protocol.