pub struct BootloadTransmitComplete { /* private fields */ }Expand description
Handler parameters.
Implementations§
Source§impl Handler
impl Handler
Sourcepub fn ack_received(&self) -> Result<bool, Error>
pub fn ack_received(&self) -> Result<bool, Error>
Returns true if an ACK was received from the destination or false if no ACK was received.
§Errors
Returns an Error if the status is not Status::Success or Status::DeliveryFailed.
Trait Implementations§
impl Eq for Handler
Source§impl FromLeStream for Handler
impl FromLeStream for Handler
Source§fn from_le_stream<__LeStreamBytesIterator>(
bytes: __LeStreamBytesIterator,
) -> Option<Self>
fn from_le_stream<__LeStreamBytesIterator>( bytes: __LeStreamBytesIterator, ) -> Option<Self>
Parses a value from the front of a little-endian byte stream. Read more
impl StructuralPartialEq for Handler
Source§impl ToLeStream for Handler
impl ToLeStream for Handler
Source§type Iter = Chain<<u8 as ToLeStream>::Iter, <VecInner<u8, u8, VecStorageInner<[MaybeUninit<u8>; 255]>> as ToLeStream>::Iter>
type Iter = Chain<<u8 as ToLeStream>::Iter, <VecInner<u8, u8, VecStorageInner<[MaybeUninit<u8>; 255]>> as ToLeStream>::Iter>
Iterator returned by
to_le_stream.Source§fn to_le_stream(self) -> <Self as ToLeStream>::Iter
fn to_le_stream(self) -> <Self as ToLeStream>::Iter
Returns an iterator over the little-endian byte representation. Read more
Auto Trait Implementations§
impl Freeze for Handler
impl RefUnwindSafe for Handler
impl Send for Handler
impl Sync for Handler
impl Unpin for Handler
impl UnsafeUnpin for Handler
impl UnwindSafe for Handler
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