pub struct TryInitError<T> { /* private fields */ }
Expand description
Errors returned by InitOnce::try_init
.
This contains the value that the caller was attempting to use to initialize the cell.
Implementations§
Source§impl<T> TryInitError<T>
impl<T> TryInitError<T>
Sourcepub fn into_inner(self) -> T
pub fn into_inner(self) -> T
Returns the value that the caller attempted to initialize the cell with
Trait Implementations§
Source§impl<T> Debug for TryInitError<T>
impl<T> Debug for TryInitError<T>
Auto Trait Implementations§
impl<T> Freeze for TryInitError<T>where
T: Freeze,
impl<T> RefUnwindSafe for TryInitError<T>where
T: RefUnwindSafe,
impl<T> Send for TryInitError<T>where
T: Send,
impl<T> Sync for TryInitError<T>where
T: Sync,
impl<T> Unpin for TryInitError<T>where
T: Unpin,
impl<T> UnwindSafe for TryInitError<T>where
T: UnwindSafe,
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