pub struct RestoreReport { /* private fields */ }Expand description
Which aspects could not be restored after an operation.
Exhaustively enumerated rather than a list, so a reader can see every aspect that can appear without running anything. Impersonation is absent by construction: its restore failure is fatal, so it never reaches a report.
Implementations§
Source§impl RestoreReport
impl RestoreReport
Sourcepub const fn error_mode(&self) -> Option<&ErrorModeRestoreError>
pub const fn error_mode(&self) -> Option<&ErrorModeRestoreError>
The thread error mode’s restore failure, if any.
Sourcepub const fn declared(&self) -> Option<&DeclaredError>
pub const fn declared(&self) -> Option<&DeclaredError>
The declared aspects’ restore failure, if any.
Sourcepub const fn transaction(&self) -> Option<&TransactionError>
pub const fn transaction(&self) -> Option<&TransactionError>
The transaction’s restore failure, if any.
Trait Implementations§
Source§impl Debug for RestoreReport
impl Debug for RestoreReport
Source§impl Default for RestoreReport
impl Default for RestoreReport
Source§fn default() -> RestoreReport
fn default() -> RestoreReport
Returns the “default value” for a type. Read more
Source§impl Display for RestoreReport
impl Display for RestoreReport
Source§impl Error for RestoreReport
impl Error for RestoreReport
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 !RefUnwindSafe for RestoreReport
impl !UnwindSafe for RestoreReport
impl Freeze for RestoreReport
impl Send for RestoreReport
impl Sync for RestoreReport
impl Unpin for RestoreReport
impl UnsafeUnpin for RestoreReport
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