pub struct SeggerRtt<'a, A: Alarm<'a>> { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl<'a, A: Alarm<'a>> AlarmClient for SeggerRtt<'a, A>
impl<'a, A: Alarm<'a>> AlarmClient for SeggerRtt<'a, A>
Source§impl<'a, A: Alarm<'a>> Receive<'a> for SeggerRtt<'a, A>
impl<'a, A: Alarm<'a>> Receive<'a> for SeggerRtt<'a, A>
Source§fn set_receive_client(&self, client: &'a dyn ReceiveClient)
fn set_receive_client(&self, client: &'a dyn ReceiveClient)
Set the receive client, which will be called when reads complete.
Source§impl<'a, A: Alarm<'a>> Transmit<'a> for SeggerRtt<'a, A>
impl<'a, A: Alarm<'a>> Transmit<'a> for SeggerRtt<'a, A>
Source§fn set_transmit_client(&self, client: &'a dyn TransmitClient)
fn set_transmit_client(&self, client: &'a dyn TransmitClient)
Set the transmit client, which will be called when transmissions
complete.
Source§fn transmit_buffer(
&self,
tx_data: &'static mut [u8],
tx_len: usize,
) -> Result<(), (ErrorCode, &'static mut [u8])>
fn transmit_buffer( &self, tx_data: &'static mut [u8], tx_len: usize, ) -> Result<(), (ErrorCode, &'static mut [u8])>
Transmit a buffer of data. Read more
Auto Trait Implementations§
impl<'a, A> !Freeze for SeggerRtt<'a, A>
impl<'a, A> !RefUnwindSafe for SeggerRtt<'a, A>
impl<'a, A> !Send for SeggerRtt<'a, A>
impl<'a, A> !Sync for SeggerRtt<'a, A>
impl<'a, A> Unpin for SeggerRtt<'a, A>
impl<'a, A> !UnwindSafe for SeggerRtt<'a, 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