Trait os::fs::File

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

Required methods

Implementors