Enum nix::sys::aio::AioFsyncMode [−][src]
#[repr(i32)]pub enum AioFsyncMode { O_SYNC, O_DSYNC, }
Mode for AioCb::fsync. Controls whether only data or both data and
metadata are synced.
Variants
O_SYNCdo it like fsync
O_DSYNCon supported operating systems only, do it like fdatasync
Trait Implementations
impl Clone for AioFsyncMode[src]
impl Clone for AioFsyncModefn clone(&self) -> AioFsyncMode[src]
fn clone(&self) -> AioFsyncModeReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Copy for AioFsyncMode[src]
impl Copy for AioFsyncModeimpl Debug for AioFsyncMode[src]
impl Debug for AioFsyncModefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for AioFsyncMode[src]
impl PartialEq for AioFsyncModeAuto Trait Implementations
impl Send for AioFsyncMode
impl Send for AioFsyncModeimpl Sync for AioFsyncMode
impl Sync for AioFsyncMode