pub struct DiskDir {
pub real_path: PathBuf,
pub dir_rights: WASIRights,
pub file_rights: WASIRights,
}
Fields§
§real_path: PathBuf
§dir_rights: WASIRights
§file_rights: WASIRights
Implementations§
Trait Implementations§
Source§impl WasiNode for DiskDir
impl WasiNode for DiskDir
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 DiskDir
impl RefUnwindSafe for DiskDir
impl Send for DiskDir
impl Sync for DiskDir
impl Unpin for DiskDir
impl UnwindSafe for DiskDir
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