#[non_exhaustive]pub enum CaptureFailure {
Impersonation(CaptureError),
ErrorMode(UnsupportedBits),
Transaction(TransactionError),
}Expand description
Which aspect failed to capture, 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.
Impersonation(CaptureError)
The impersonation context could not be captured.
ErrorMode(UnsupportedBits)
The thread error mode reported a value this crate cannot represent.
Transaction(TransactionError)
The current transaction could not be captured.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for CaptureFailure
impl !UnwindSafe for CaptureFailure
impl Freeze for CaptureFailure
impl Send for CaptureFailure
impl Sync for CaptureFailure
impl Unpin for CaptureFailure
impl UnsafeUnpin for CaptureFailure
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