pub trait SchemeBlock {
Show 25 methods fn handle(&self, packet: &Packet) -> Option<usize> { ... } fn open(
        &self,
        path: &str,
        flags: usize,
        uid: u32,
        gid: u32
    ) -> Result<Option<usize>> { ... } fn chmod(
        &self,
        path: &str,
        mode: u16,
        uid: u32,
        gid: u32
    ) -> Result<Option<usize>> { ... } fn rmdir(&self, path: &str, uid: u32, gid: u32) -> Result<Option<usize>> { ... } fn unlink(&self, path: &str, uid: u32, gid: u32) -> Result<Option<usize>> { ... } fn dup(&self, old_id: usize, buf: &[u8]) -> Result<Option<usize>> { ... } fn read(&self, id: usize, buf: &mut [u8]) -> Result<Option<usize>> { ... } fn write(&self, id: usize, buf: &[u8]) -> Result<Option<usize>> { ... } fn seek(&self, id: usize, pos: isize, whence: usize) -> Result<Option<isize>> { ... } fn fchmod(&self, id: usize, mode: u16) -> Result<Option<usize>> { ... } fn fchown(&self, id: usize, uid: u32, gid: u32) -> Result<Option<usize>> { ... } fn fcntl(&self, id: usize, cmd: usize, arg: usize) -> Result<Option<usize>> { ... } fn fevent(&self, id: usize, flags: EventFlags) -> Result<Option<EventFlags>> { ... } fn fmap_old(&self, id: usize, map: &OldMap) -> Result<Option<usize>> { ... } fn fmap(&self, id: usize, map: &Map) -> Result<Option<usize>> { ... } fn funmap_old(&self, address: usize) -> Result<Option<usize>> { ... } fn funmap(&self, address: usize, length: usize) -> Result<Option<usize>> { ... } fn fpath(&self, id: usize, buf: &mut [u8]) -> Result<Option<usize>> { ... } fn frename(
        &self,
        id: usize,
        path: &str,
        uid: u32,
        gid: u32
    ) -> Result<Option<usize>> { ... } fn fstat(&self, id: usize, stat: &mut Stat) -> Result<Option<usize>> { ... } fn fstatvfs(&self, id: usize, stat: &mut StatVfs) -> Result<Option<usize>> { ... } fn fsync(&self, id: usize) -> Result<Option<usize>> { ... } fn ftruncate(&self, id: usize, len: usize) -> Result<Option<usize>> { ... } fn futimens(&self, id: usize, times: &[TimeSpec]) -> Result<Option<usize>> { ... } fn close(&self, id: usize) -> Result<Option<usize>> { ... }
}

Provided Methods

Implementors