[][src]Struct shared_bus_rtic::CommonBus

pub struct CommonBus<BUS> { /* fields omitted */ }

Implementations

impl<BUS> CommonBus<BUS>[src]

pub fn new(bus: BUS) -> Self[src]

pub fn acquire(&self) -> &Self[src]

Trait Implementations

impl<'_, BUS: FullDuplex<u16>> FullDuplex<u16> for &'_ CommonBus<BUS>[src]

type Error = BUS::Error

An enumeration of SPI errors

impl<'_, BUS: FullDuplex<u32>> FullDuplex<u32> for &'_ CommonBus<BUS>[src]

type Error = BUS::Error

An enumeration of SPI errors

impl<'_, BUS: FullDuplex<u64>> FullDuplex<u64> for &'_ CommonBus<BUS>[src]

type Error = BUS::Error

An enumeration of SPI errors

impl<'_, BUS: FullDuplex<u8>> FullDuplex<u8> for &'_ CommonBus<BUS>[src]

type Error = BUS::Error

An enumeration of SPI errors

impl<'_, BUS: Read> Read for &'_ CommonBus<BUS>[src]

type Error = BUS::Error

Error type

impl<BUS> Sync for CommonBus<BUS>[src]

impl<'_, BUS: Transfer<u16>> Transfer<u16> for &'_ CommonBus<BUS>[src]

type Error = BUS::Error

Error type

impl<'_, BUS: Transfer<u32>> Transfer<u32> for &'_ CommonBus<BUS>[src]

type Error = BUS::Error

Error type

impl<'_, BUS: Transfer<u64>> Transfer<u64> for &'_ CommonBus<BUS>[src]

type Error = BUS::Error

Error type

impl<'_, BUS: Transfer<u8>> Transfer<u8> for &'_ CommonBus<BUS>[src]

type Error = BUS::Error

Error type

impl<'_, BUS: Write<u16>> Write<u16> for &'_ CommonBus<BUS>[src]

type Error = BUS::Error

Error type

impl<'_, BUS: Write<u32>> Write<u32> for &'_ CommonBus<BUS>[src]

type Error = BUS::Error

Error type

impl<'_, BUS: Write<u64>> Write<u64> for &'_ CommonBus<BUS>[src]

type Error = BUS::Error

Error type

impl<'_, BUS: Write<u8>> Write<u8> for &'_ CommonBus<BUS>[src]

type Error = BUS::Error

Error type

impl<'_, BUS: Write> Write for &'_ CommonBus<BUS>[src]

type Error = BUS::Error

Error type

impl<'_, BUS: WriteRead> WriteRead for &'_ CommonBus<BUS>[src]

type Error = BUS::Error

Error type

Auto Trait Implementations

impl<BUS> Send for CommonBus<BUS> where
    BUS: Send

impl<BUS> Unpin for CommonBus<BUS> where
    BUS: Unpin

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, 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.