pub struct FD_TABLE { /* private fields */ }
Available on crate feature
fd
only.Expand description
Wrapper struct for the namespace resource FD_TABLE
Implementations§
Source§impl FD_TABLE
impl FD_TABLE
Sourcepub fn deref_from(
&self,
ns: &AxNamespace,
) -> &ResArc<RwLock<FlattenObjects<Arc<dyn FileLike>, AX_FILE_LIMIT>>>
pub fn deref_from( &self, ns: &AxNamespace, ) -> &ResArc<RwLock<FlattenObjects<Arc<dyn FileLike>, AX_FILE_LIMIT>>>
Dereference the resource from the given namespace.
Sourcepub fn deref_global(
&self,
) -> &ResArc<RwLock<FlattenObjects<Arc<dyn FileLike>, AX_FILE_LIMIT>>>
pub fn deref_global( &self, ) -> &ResArc<RwLock<FlattenObjects<Arc<dyn FileLike>, AX_FILE_LIMIT>>>
Dereference the resource from the global namespace.
Sourcepub fn deref_auto(
&self,
) -> &ResArc<RwLock<FlattenObjects<Arc<dyn FileLike>, AX_FILE_LIMIT>>>
pub fn deref_auto( &self, ) -> &ResArc<RwLock<FlattenObjects<Arc<dyn FileLike>, AX_FILE_LIMIT>>>
Dereference the resource automatically, according whether the
thread-local
feature of the axns
crate is enabled or not.
When the feature is enabled, it dereferences from the thread-local namespace of the current thread. Otherwise, it dereferences from the global namespace.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FD_TABLE
impl RefUnwindSafe for FD_TABLE
impl Send for FD_TABLE
impl Sync for FD_TABLE
impl Unpin for FD_TABLE
impl UnwindSafe for FD_TABLE
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