Docs.rs
  • i2cbus-api-0.1.9
    • i2cbus-api 0.1.9
    • Permalink
    • Docs.rs crate page
    • GPL-3.0-or-later
    • Links
    • Homepage
    • Documentation
    • Repository
    • crates.io
    • Source
    • Owners
    • packom
    • Dependencies
      • chrono ^0.4 normal
      • frunk ^0.3.0 normal optional
      • frunk-enum-core ^0.2.0 normal optional
      • frunk-enum-derive ^0.2.0 normal optional
      • frunk_core ^0.3.0 normal optional
      • frunk_derives ^0.3.0 normal optional
      • futures ^0.1 normal
      • hyper ^0.12 normal optional
      • lazy_static ^1.4 normal optional
      • log ^0.4.0 normal
      • mime ^0.3 normal
      • percent-encoding ^1.0.0 normal optional
      • regex ^0.2 normal optional
      • serde ^1.0 normal
      • serde_ignored ^0.0.4 normal optional
      • serde_json ^1.0 normal
      • swagger ^4.0 normal
      • tokio-core ^0.1.17 normal
      • url ^1.5 normal optional
      • clap ^2.25 dev
      • env_logger ^0.6 dev
      • error-chain ^0.12 dev
      • tokio ^0.1.17 dev
      • uuid ^0.7 dev
      • native-tls ^0.2 normal optional
      • hyper-openssl ^0.7.1 normal optional
      • openssl ^0.10 normal optional
      • openssl ^0.10 dev
      • tokio-openssl ^0.3 dev
    • Versions
    • 100% of the crate is documented
  • Platform
    • i686-pc-windows-msvc
    • x86_64-apple-darwin
    • x86_64-pc-windows-msvc
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

i2cbus_api0.1.9

OkOrOther

Required Methods

  • ok_or_other

Implementors

In crate i2cbus_api

i2cbus_api

Trait OkOrOther

Source
pub trait OkOrOther {
    // Required method
    fn ok_or_other(&self) -> Result<ExtraInfoOk, ExtraInfoError>;
}

Required Methods§

Source

fn ok_or_other(&self) -> Result<ExtraInfoOk, ExtraInfoError>

Implementors§

Source§

impl OkOrOther for I2cBusApiResponse

Source§

impl OkOrOther for I2cBusListResponse

Source§

impl OkOrOther for I2cBusReadByteResponse

Source§

impl OkOrOther for I2cBusReadBytesResponse

Source§

impl OkOrOther for I2cBusReadRegResponse

Source§

impl OkOrOther for I2cBusWriteByteRegResponse

Source§

impl OkOrOther for I2cBusWriteByteResponse

Source§

impl OkOrOther for I2cBusWriteBytesRegResponse

Source§

impl OkOrOther for I2cBusWriteBytesResponse