pub enum AMKP<Root> {
ArcMutexKeyPathChain(PartialKeyPath<Root>),
ArcMutexOptionalKeyPathChain(PartialKeyPath<Root>),
}Expand description
Enum for Arc<Mutex
Represents all chain types that traverse through Arc<Mutex<T>>:
- ArcMutexKeyPathChain
- ArcMutexWritableKeyPathChain
- ArcMutexOptionalKeyPathChain
- ArcMutexWritableOptionalKeyPathChain
The outer keypath (to the Arc<Mutex<T>>) is stored as a PartialKeyPath.
Variants§
ArcMutexKeyPathChain(PartialKeyPath<Root>)
Chain through Arc<Mutex<T>> with readable inner keypath.
ArcMutexOptionalKeyPathChain(PartialKeyPath<Root>)
Chain through Arc<Mutex<T>> with optional readable inner keypath.
Auto Trait Implementations§
impl<Root> Freeze for AMKP<Root>
impl<Root> !RefUnwindSafe for AMKP<Root>
impl<Root> !Send for AMKP<Root>
impl<Root> !Sync for AMKP<Root>
impl<Root> Unpin for AMKP<Root>where
Root: Unpin,
impl<Root> !UnwindSafe for AMKP<Root>
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