Struct nano33ble::io::DummyUsbClient
source · struct DummyUsbClient {
fired: VolatileCell<bool>,
}
Fields§
§fired: VolatileCell<bool>
Trait Implementations§
source§impl TransmitClient for DummyUsbClient
impl TransmitClient for DummyUsbClient
source§fn transmitted_buffer(
&self,
_: &'static mut [u8],
_: usize,
_: Result<(), ErrorCode>
)
fn transmitted_buffer( &self, _: &'static mut [u8], _: usize, _: Result<(), ErrorCode> )
A call to
Transmit::transmit_buffer
completed. The Result<(), ErrorCode>
indicates whether the buffer was successfully transmitted. A call
to transmit_word
or transmit_buffer
made within this callback
SHOULD NOT return BUSY: when this callback is made the UART should
be ready to receive another call. Read moresource§fn transmitted_word(&self, _rval: Result<(), ErrorCode>)
fn transmitted_word(&self, _rval: Result<(), ErrorCode>)
A call to
Transmit::transmit_word
completed. The Result<(), ErrorCode>
indicates whether the word was successfully transmitted. A call
to transmit_word
or transmit_buffer
made within this callback
SHOULD NOT return BUSY: when this callback is made the UART should
be ready to receive another call. Read moreAuto Trait Implementations§
impl !Freeze for DummyUsbClient
impl !RefUnwindSafe for DummyUsbClient
impl Send for DummyUsbClient
impl !Sync for DummyUsbClient
impl Unpin for DummyUsbClient
impl UnwindSafe for DummyUsbClient
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