[−][src]Struct shared_bus_rtic::CommonBus
Implementations
impl<BUS> CommonBus<BUS>
[src]
Trait Implementations
impl<'_, BUS: Read> Read for &'_ CommonBus<BUS>
[src]
type Error = BUS::Error
Error type
fn read(&mut self, address: u8, buffer: &mut [u8]) -> Result<(), Self::Error>
[src]
impl<BUS> Sync for CommonBus<BUS>
[src]
impl<'_, BUS: Transfer<u8>> Transfer<u8> for &'_ CommonBus<BUS>
[src]
type Error = BUS::Error
Error type
fn transfer<'w>(&mut self, words: &'w mut [u8]) -> Result<&'w [u8], Self::Error>
[src]
impl<'_, BUS: Write<u8>> Write<u8> for &'_ CommonBus<BUS>
[src]
impl<'_, BUS: Write> Write for &'_ CommonBus<BUS>
[src]
type Error = BUS::Error
Error type
fn write(&mut self, address: u8, buffer: &[u8]) -> Result<(), Self::Error>
[src]
impl<'_, BUS: WriteRead> WriteRead for &'_ CommonBus<BUS>
[src]
Auto Trait Implementations
impl<BUS> Send for CommonBus<BUS> where
BUS: Send,
BUS: Send,
impl<BUS> Unpin for CommonBus<BUS> where
BUS: Unpin,
BUS: Unpin,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,