pub struct SemihostUart<'a> { /* private fields */ }
Implementations§
Source§impl<'a> SemihostUart<'a>
impl<'a> SemihostUart<'a>
pub fn new() -> SemihostUart<'a>
Trait Implementations§
Source§impl Configure for SemihostUart<'_>
impl Configure for SemihostUart<'_>
Source§impl Default for SemihostUart<'_>
impl Default for SemihostUart<'_>
Source§impl DeferredCallClient for SemihostUart<'_>
impl DeferredCallClient for SemihostUart<'_>
Source§impl<'a> Receive<'a> for SemihostUart<'a>
impl<'a> Receive<'a> for SemihostUart<'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> Transmit<'a> for SemihostUart<'a>
impl<'a> Transmit<'a> for SemihostUart<'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_buffer: &'static mut [u8],
tx_len: usize,
) -> Result<(), (ErrorCode, &'static mut [u8])>
fn transmit_buffer( &self, tx_buffer: &'static mut [u8], tx_len: usize, ) -> Result<(), (ErrorCode, &'static mut [u8])>
Transmit a buffer of data. Read more
Auto Trait Implementations§
impl<'a> !Freeze for SemihostUart<'a>
impl<'a> !RefUnwindSafe for SemihostUart<'a>
impl<'a> !Send for SemihostUart<'a>
impl<'a> !Sync for SemihostUart<'a>
impl<'a> Unpin for SemihostUart<'a>
impl<'a> !UnwindSafe for SemihostUart<'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