Trait sgx_sync::RawRwLock

source ·
pub trait RawRwLock {
    // Required methods
    fn read(&self);
    fn try_read(&self) -> bool;
    unsafe fn read_unlock(&self);
    fn write(&self);
    fn try_write(&self) -> bool;
    unsafe fn write_unlock(&self);
}

Required Methods§

source

fn read(&self)

source

fn try_read(&self) -> bool

source

unsafe fn read_unlock(&self)

source

fn write(&self)

source

fn try_write(&self) -> bool

source

unsafe fn write_unlock(&self)

Implementors§