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