enum State<T, F> {
Uninit(F),
Init(T),
Poisoned,
}
Variants§
Auto Trait Implementations§
impl<T, F> Freeze for State<T, F>where F: Freeze, T: Freeze,
impl<T, F> RefUnwindSafe for State<T, F>where F: RefUnwindSafe, T: RefUnwindSafe,
impl<T, F> Send for State<T, F>where F: Send, T: Send,
impl<T, F> Sync for State<T, F>where F: Sync, T: Sync,
impl<T, F> Unpin for State<T, F>where F: Unpin, T: Unpin,
impl<T, F> UnwindSafe for State<T, F>where F: UnwindSafe, 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