pub struct Directory { /* private fields */ }
Expand description
Directory wrapper for axfs::fops::Directory
.
Implementations§
Trait Implementations§
Source§impl FileLike for Directory
impl FileLike for Directory
fn read(&self, _buf: &mut [u8]) -> LinuxResult<usize>
fn write(&self, _buf: &[u8]) -> LinuxResult<usize>
fn stat(&self) -> LinuxResult<Kstat>
fn into_any(self: Arc<Self>) -> Arc<dyn Any + Send + Sync>
fn poll(&self) -> LinuxResult<PollState>
fn set_nonblocking(&self, _nonblocking: bool) -> LinuxResult
fn from_fd(fd: c_int) -> LinuxResult<Arc<Self>>
fn add_to_fd_table(self) -> LinuxResult<c_int>where
Self: Sized + 'static,
Auto Trait Implementations§
impl !Freeze for Directory
impl !RefUnwindSafe for Directory
impl Send for Directory
impl Sync for Directory
impl Unpin for Directory
impl !UnwindSafe for Directory
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