pub enum Outcome {
Ack,
Denied,
Refused(RemoteError),
Timeout,
NotSent(String),
Failed(String),
}Expand description
How a confirmed request ended, for the audit log and the result view.
Variants§
Ack
Acknowledged.
Denied
The device’s mutation policy refused it: SERVICES / SERVICE_REQUEST_DENIED, shown apart from other errors.
Refused(RemoteError)
Another Error PDU, or a Reject or Abort PDU, with its typed class and code or reason (#1814).
Timeout
No answer: it may or may not have been applied.
NotSent(String)
Never sent, and why.
Failed(String)
Failed some other way (the transport, say).
Implementations§
Trait Implementations§
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 UnsafeUnpin for Outcome
impl UnwindSafe for Outcome
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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