Enum file_lock::AccessMode [] [src]

pub enum AccessMode {
    Read,
    Write,
}

Represents a file access mode, e.g. read or write

Variants

Read
Write

Trait Implementations

impl Into<i32> for AccessMode

fn into(self) -> i32

Derived Implementations

impl Debug for AccessMode

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Clone for AccessMode

fn clone(&self) -> AccessMode

fn clone_from(&mut self, source: &Self)1.0.0