lock_order::lock

Trait DelegatedOrderedLockAccess

Source
pub trait DelegatedOrderedLockAccess<T> {
    type Inner: OrderedLockAccess<T> + 'static;

    // Required method
    fn delegate_ordered_lock_access(&self) -> &Self::Inner;
}
Expand description

Marks a type as offering ordered lock access for some inner type T through the OrderedLockAccess implementation of Inner.

See OrderedLockAccess for more details.

Required Associated Types§

Source

type Inner: OrderedLockAccess<T> + 'static

The inner type acting as a proxy for ordered access to T.

Required Methods§

Source

fn delegate_ordered_lock_access(&self) -> &Self::Inner

Returns the inner type.

Implementors§