Struct exec_rs::sync::MutexSyncExecutor[][src]

pub struct MutexSyncExecutor<K, M> where
    K: 'static + Sync + Send + Clone + Hash + Ord,
    M: Borrow<MutexSync<K>> + 'static, 
{ /* fields omitted */ }

Struct that implements the ModeWrapper and Invoker traits for any type that borrows MutexSync and a specific key. Enables using MutexSync as a ModeWrapper or Invoker.

Trait Implementations

impl<K, M> Invoker for MutexSyncExecutor<K, M> where
    K: 'static + Sync + Send + Clone + Hash + Ord,
    M: Borrow<MutexSync<K>> + 'static, 
[src]

impl<T, K, M> ModeWrapper<'static, T> for MutexSyncExecutor<K, M> where
    T: 'static,
    K: 'static + Sync + Send + Clone + Hash + Ord,
    M: Borrow<MutexSync<K>> + 'static, 
[src]

Auto Trait Implementations

impl<K, M> RefUnwindSafe for MutexSyncExecutor<K, M> where
    K: RefUnwindSafe,
    M: RefUnwindSafe

impl<K, M> Send for MutexSyncExecutor<K, M> where
    M: Send

impl<K, M> Sync for MutexSyncExecutor<K, M> where
    M: Sync

impl<K, M> Unpin for MutexSyncExecutor<K, M> where
    K: Unpin,
    M: Unpin

impl<K, M> UnwindSafe for MutexSyncExecutor<K, M> where
    K: UnwindSafe,
    M: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.