pub enum DeliveredOutcome<'a> {
Replied(&'a [u8]),
NoResponse,
Failed(Failure),
}Expand description
How an exchange ended.
Variants§
Replied(&'a [u8])
The device answered with this reply payload.
NoResponse
The device answered nothing, its delivery acknowledged.
Failed(Failure)
The exchange failed.
Trait Implementations§
Source§impl<'a> Clone for DeliveredOutcome<'a>
impl<'a> Clone for DeliveredOutcome<'a>
Source§fn clone(&self) -> DeliveredOutcome<'a>
fn clone(&self) -> DeliveredOutcome<'a>
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for DeliveredOutcome<'a>
impl<'a> Debug for DeliveredOutcome<'a>
impl<'a> Copy for DeliveredOutcome<'a>
Auto Trait Implementations§
impl<'a> Freeze for DeliveredOutcome<'a>
impl<'a> RefUnwindSafe for DeliveredOutcome<'a>
impl<'a> Send for DeliveredOutcome<'a>
impl<'a> Sync for DeliveredOutcome<'a>
impl<'a> Unpin for DeliveredOutcome<'a>
impl<'a> UnwindSafe for DeliveredOutcome<'a>
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)