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