pub enum InitResult<V, E> {
Initialized(V),
ReadExisting(V),
InitErr(Arc<E>),
}Variants§
Trait Implementations§
Auto Trait Implementations§
impl<V, E> Freeze for InitResult<V, E>where
V: Freeze,
impl<V, E> RefUnwindSafe for InitResult<V, E>where
V: RefUnwindSafe,
E: RefUnwindSafe,
impl<V, E> Send for InitResult<V, E>
impl<V, E> Sync for InitResult<V, E>
impl<V, E> Unpin for InitResult<V, E>where
V: Unpin,
impl<V, E> UnwindSafe for InitResult<V, E>where
V: UnwindSafe,
E: RefUnwindSafe,
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more