pub enum Outcome {
Replied {
len: usize,
},
NoResponse,
Failed(Failure),
}Expand description
A finished exchange.
Variants§
Replied
The device answered. The reply frame is the reassembly buffer’s
first len octets — one whole ULCP frame, its trailing content
the concatenation of every fragment.
NoResponse
A reset-class command, which is answered by no response payload. Delivery is confirmed by the MAC acknowledgment, not here.
Failed(Failure)
The exchange failed.
Trait Implementations§
impl Copy for Outcome
impl Eq for Outcome
impl StructuralPartialEq for Outcome
Auto Trait Implementations§
impl Freeze for Outcome
impl RefUnwindSafe for Outcome
impl Send for Outcome
impl Sync for Outcome
impl Unpin for Outcome
impl UnwindSafe for Outcome
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)