pub enum ConfirmationError {
Refused(ExecError),
TimedOut,
Io(Error),
}Expand description
Failure to confirm exec or to validate a trampoline’s capability response.
Variants§
Refused(ExecError)
The trampoline refused exec with a named cause.
TimedOut
The caller’s deadline elapsed without confirmation. Never success.
Io(Error)
An IO failure or an invalid protocol response.
Trait Implementations§
Source§impl Debug for ConfirmationError
impl Debug for ConfirmationError
Source§impl Display for ConfirmationError
impl Display for ConfirmationError
Source§impl Error for ConfirmationError
impl Error for ConfirmationError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl !RefUnwindSafe for ConfirmationError
impl !UnwindSafe for ConfirmationError
impl Freeze for ConfirmationError
impl Send for ConfirmationError
impl Sync for ConfirmationError
impl Unpin for ConfirmationError
impl UnsafeUnpin for ConfirmationError
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