#[non_exhaustive]pub enum ApplyFailure {
ErrorMode(ApplyError),
Declared(DeclaredError),
Transaction(TransactionError),
Impersonation(ApplyError),
}Expand description
Which aspect could not be installed, and why.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ErrorMode(ApplyError)
The thread error mode could not be installed.
Declared(DeclaredError)
A declared aspect could not be installed.
Transaction(TransactionError)
The transaction could not be installed.
Impersonation(ApplyError)
The impersonation context could not be applied.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ApplyFailure
impl !UnwindSafe for ApplyFailure
impl Freeze for ApplyFailure
impl Send for ApplyFailure
impl Sync for ApplyFailure
impl Unpin for ApplyFailure
impl UnsafeUnpin for ApplyFailure
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