AMKP

Enum AMKP 

Source
pub enum AMKP<Root> {
    ArcMutexKeyPathChain(PartialKeyPath<Root>),
    ArcMutexOptionalKeyPathChain(PartialKeyPath<Root>),
}
Expand description

Enum for Arc<Mutex> chain keypath types.

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> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.