pub struct WasiInodes {
pub arena: Arena<InodeVal>,
pub orphan_fds: HashMap<Inode, InodeVal>,
}
Fields§
§arena: Arena<InodeVal>
§orphan_fds: HashMap<Inode, InodeVal>
Implementations§
Source§impl WasiInodes
impl WasiInodes
Sourcepub fn get_inodeval(&self, inode: Index) -> Result<&InodeVal, Errno>
pub fn get_inodeval(&self, inode: Index) -> Result<&InodeVal, Errno>
gets either a normal inode or an orphaned inode
Sourcepub fn get_inodeval_mut(&mut self, inode: Index) -> Result<&mut InodeVal, Errno>
pub fn get_inodeval_mut(&mut self, inode: Index) -> Result<&mut InodeVal, Errno>
gets either a normal inode or an orphaned inode
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WasiInodes
impl RefUnwindSafe for WasiInodes
impl Send for WasiInodes
impl Sync for WasiInodes
impl Unpin for WasiInodes
impl UnwindSafe for WasiInodes
Blanket Implementations§
Source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
Source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
Source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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
Source§impl<F, W, T, D> Deserialize<With<T, W>, D> for F
impl<F, W, T, D> Deserialize<With<T, W>, D> for F
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> Upcastable for T
impl<T> Upcastable for T
fn upcast_any_ref(&self) -> &(dyn Any + 'static)
fn upcast_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn upcast_any_box(self: Box<T>) -> Box<dyn Any>
Source§impl<T> Upcastable for T
impl<T> Upcastable for T
Source§fn upcast_any_ref(&self) -> &(dyn Any + 'static)
fn upcast_any_ref(&self) -> &(dyn Any + 'static)
upcast ref
Source§fn upcast_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn upcast_any_mut(&mut self) -> &mut (dyn Any + 'static)
upcast mut ref