Trait os::fs::File

source ·
pub trait File: Send + Sync {
    // Required methods
    fn readable(&self) -> bool;
    fn writable(&self) -> bool;
    fn read(&self, buf: UserBuffer) -> usize;
    fn write(&self, buf: UserBuffer) -> usize;
}

Required Methods§

source

fn readable(&self) -> bool

source

fn writable(&self) -> bool

source

fn read(&self, buf: UserBuffer) -> usize

source

fn write(&self, buf: UserBuffer) -> usize

Implementors§