Struct avr_oxide::devices::serialbus::SerialBusClientImpl
source · pub struct SerialBusClientImpl<'sbc, S>where
S: EventSink,{ /* private fields */ }
Trait Implementations§
source§impl<'sbc, S> SerialBusClient for SerialBusClientImpl<'sbc, S>where
S: EventSink,
impl<'sbc, S> SerialBusClient for SerialBusClientImpl<'sbc, S>where
S: EventSink,
fn get_bus_addr(&self) -> TwiAddr
fn clone_with_bus_addr(&self, addr: TwiAddr) -> Self
fn write_from(&mut self, buffer: &[u8]) -> OxideResult<(), TwiError>
fn write_from_multiple( &mut self, buffers: &[&[u8]] ) -> OxideResult<(), TwiError>
fn read_into(&mut self, buffer: &mut [u8]) -> OxideResult<usize, TwiError>
fn write_then_read( &mut self, command: &[u8], result: &mut [u8] ) -> OxideResult<usize, TwiError>
fn write_multiple_then_read( &mut self, commands: &[&[u8]], result: &mut [u8] ) -> OxideResult<usize, TwiError>
Auto Trait Implementations§
impl<'sbc, S> Freeze for SerialBusClientImpl<'sbc, S>
impl<'sbc, S> !RefUnwindSafe for SerialBusClientImpl<'sbc, S>
impl<'sbc, S> !Send for SerialBusClientImpl<'sbc, S>
impl<'sbc, S> !Sync for SerialBusClientImpl<'sbc, S>
impl<'sbc, S> Unpin for SerialBusClientImpl<'sbc, S>
impl<'sbc, S> !UnwindSafe for SerialBusClientImpl<'sbc, S>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more