Trait nitric_lock::ReadLock

source ·
pub trait ReadLock<'a> {
    type Output;

    unsafe fn lock_info(&self) -> LockInfo<'_>;
    unsafe fn lock_unchecked(self) -> Self::Output;

    fn read(self) -> Ref<Self>
    where
        Self: Sized
, { ... } }

Required Associated Types§

Required Methods§

Provided Methods§

Implementors§