pub struct Ios<'a> { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl<'a> I2CSlave<'a> for Ios<'a>
impl<'a> I2CSlave<'a> for Ios<'a>
fn set_slave_client(&self, slave_client: &'a dyn I2CHwSlaveClient)
fn enable(&self)
fn disable(&self)
fn set_address(&self, addr: u8) -> Result<(), Error>
fn write_receive( &self, data: &'static mut [u8], max_len: usize, ) -> Result<(), (Error, &'static mut [u8])>
fn read_send( &self, data: &'static mut [u8], max_len: usize, ) -> Result<(), (Error, &'static mut [u8])>
fn listen(&self)
Auto Trait Implementations§
impl<'a> !Freeze for Ios<'a>
impl<'a> !RefUnwindSafe for Ios<'a>
impl<'a> !Send for Ios<'a>
impl<'a> !Sync for Ios<'a>
impl<'a> Unpin for Ios<'a>
impl<'a> !UnwindSafe for Ios<'a>
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