pub struct PermitExecutionError<E> { /* private fields */ }Expand description
Prepared execution failure plus the fail-closed permit disposition.
Implementations§
Source§impl<E> PermitExecutionError<E>
impl<E> PermitExecutionError<E>
Sourcepub const fn execution(&self) -> &PreparedExecutionError<E>
pub const fn execution(&self) -> &PreparedExecutionError<E>
Returns the underlying payload-redacting execution failure.
Sourcepub const fn disposition(&self) -> PermitDisposition
pub const fn disposition(&self) -> PermitDisposition
Returns the recovery or reconciliation disposition.
Trait Implementations§
Source§impl<E> Debug for PermitExecutionError<E>
impl<E> Debug for PermitExecutionError<E>
Source§impl<E> Display for PermitExecutionError<E>
impl<E> Display for PermitExecutionError<E>
Source§impl<E> Error for PermitExecutionError<E>
impl<E> Error for PermitExecutionError<E>
1.30.0 · 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<E> Freeze for PermitExecutionError<E>where
E: Freeze,
impl<E> RefUnwindSafe for PermitExecutionError<E>where
E: RefUnwindSafe,
impl<E> Send for PermitExecutionError<E>where
E: Send,
impl<E> Sync for PermitExecutionError<E>where
E: Sync,
impl<E> Unpin for PermitExecutionError<E>where
E: Unpin,
impl<E> UnsafeUnpin for PermitExecutionError<E>where
E: UnsafeUnpin,
impl<E> UnwindSafe for PermitExecutionError<E>where
E: UnwindSafe,
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