pub enum MappedCrossProcessLockState<G> {
Clean(G),
Dirty(G),
}Expand description
A mapped CrossProcessLockState.
Created by CrossProcessLockState::map.
Variants§
Clean(G)
The equivalent of CrossProcessLockState::Clean.
Dirty(G)
The equivalent of CrossProcessLockState::Dirty.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<G> Freeze for MappedCrossProcessLockState<G>where
G: Freeze,
impl<G> RefUnwindSafe for MappedCrossProcessLockState<G>where
G: RefUnwindSafe,
impl<G> Send for MappedCrossProcessLockState<G>where
G: Send,
impl<G> Sync for MappedCrossProcessLockState<G>where
G: Sync,
impl<G> Unpin for MappedCrossProcessLockState<G>where
G: Unpin,
impl<G> UnwindSafe for MappedCrossProcessLockState<G>where
G: 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