pub struct Applied<T> { /* private fields */ }Expand description
What an operation produced, and whether the thread was put back.
Implementations§
Source§impl<T> Applied<T>
impl<T> Applied<T>
Sourcepub fn into_value(self) -> T
pub fn into_value(self) -> T
Take the value, deliberately ignoring the restore report.
Sourcepub const fn restore(&self) -> &RestoreReport
pub const fn restore(&self) -> &RestoreReport
Which aspects failed to restore, if any.
Sourcepub fn into_clean_value(self) -> Result<T, RestoreReport>
pub fn into_clean_value(self) -> Result<T, RestoreReport>
Trait Implementations§
Auto Trait Implementations§
impl<T> !RefUnwindSafe for Applied<T>
impl<T> !UnwindSafe for Applied<T>
impl<T> Freeze for Applied<T>where
T: Freeze,
impl<T> Send for Applied<T>where
T: Send,
impl<T> Sync for Applied<T>where
T: Sync,
impl<T> Unpin for Applied<T>where
T: Unpin,
impl<T> UnsafeUnpin for Applied<T>where
T: UnsafeUnpin,
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