[][src]Crate i2cbus_api

Re-exports

pub use client::Client;
pub use self::server::Service;

Modules

client
context
models
server

Structs

ApiError

Very simple error type - just holds a description of the error. This is useful for human diagnosis and troubleshooting, but not for applications to parse. The justification for this is to deny applications visibility into the communication layer, forcing the application code to act solely on the logical responses that the API provides, promoting abstraction in the application code.

ContextWrapper

Context wrapper, to bind an API with a context.

Enums

ExtraInfoError
ExtraInfoOk
I2cBusApiResponse
I2cBusListResponse
I2cBusReadByteResponse
I2cBusReadBytesResponse
I2cBusReadRegResponse
I2cBusWriteByteResponse
I2cBusWriteByteRegResponse
I2cBusWriteBytesResponse
I2cBusWriteBytesRegResponse

Constants

API_VERSION
BASE_PATH

Traits

Api

API

ApiNoContext

API without a Context

ContextWrapperExt

Trait to extend an API to make it easy to bind it to a context.

Future

Trait for types which are a placeholder of a value that may become available at some later point in time.

OkOrOther