pub trait PessimisticLock: Clone {
    // Required methods
    fn key(self) -> Key;
    fn assertion(&self) -> Assertion;
}

Required Methods§

source

fn key(self) -> Key

source

fn assertion(&self) -> Assertion

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl PessimisticLock for (Key, Assertion)

source§

fn key(self) -> Key

source§

fn assertion(&self) -> Assertion

Implementors§