pub enum DiskInode {
Dir(DiskDir),
File(DiskFile),
}
Variants§
Trait Implementations§
Source§impl WasiNode for DiskInode
impl WasiNode for DiskInode
fn fd_fdstat_get(&self) -> Result<FdStat, Errno>
fn fd_fdstat_set_flags(&mut self, flags: FdFlags) -> Result<(), Errno>
fn fd_fdstat_set_rights( &mut self, fs_rights_base: WASIRights, fs_rights_inheriting: WASIRights, ) -> Result<(), Errno>
fn fd_filestat_get(&self) -> Result<Filestat, Errno>
fn fd_filestat_set_size(&mut self, size: __wasi_filesize_t) -> Result<(), Errno>
fn fd_filestat_set_times( &mut self, atim: __wasi_timestamp_t, mtim: __wasi_timestamp_t, fst_flags: Type, ) -> Result<(), Errno>
Auto Trait Implementations§
impl Freeze for DiskInode
impl RefUnwindSafe for DiskInode
impl Send for DiskInode
impl Sync for DiskInode
impl Unpin for DiskInode
impl UnwindSafe for DiskInode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more