pub struct CleanupError { /* private fields */ }Expand description
Error returned when explicit page-sealed cleanup is incomplete.
Implementations§
Source§impl CleanupError
impl CleanupError
Sourcepub const fn report(self) -> CleanupReport
pub const fn report(self) -> CleanupReport
Outcomes of every cleanup operation that was attempted.
Sourcepub const fn operation(self) -> GuardPageOperation
pub const fn operation(self) -> GuardPageOperation
Operation associated with the first cleanup failure.
Trait Implementations§
Source§impl Clone for CleanupError
impl Clone for CleanupError
Source§fn clone(&self) -> CleanupError
fn clone(&self) -> CleanupError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CleanupError
Source§impl Debug for CleanupError
impl Debug for CleanupError
Source§impl Display for CleanupError
Available on crate feature page-seal only.
impl Display for CleanupError
Available on crate feature
page-seal only.impl Eq for CleanupError
Source§impl Error for CleanupError
Available on crate features page-seal and std only.
impl Error for CleanupError
Available on crate features
page-seal and std only.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()
Source§impl PartialEq for CleanupError
impl PartialEq for CleanupError
impl StructuralPartialEq for CleanupError
Auto Trait Implementations§
impl Freeze for CleanupError
impl RefUnwindSafe for CleanupError
impl Send for CleanupError
impl Sync for CleanupError
impl Unpin for CleanupError
impl UnsafeUnpin for CleanupError
impl UnwindSafe for CleanupError
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