Struct mycelium_util::sync::once::TryInitError
source · 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