Struct axfs_devfs::DeviceFileSystem
source · pub struct DeviceFileSystem { /* private fields */ }
Expand description
A device filesystem that implements axfs_vfs::VfsOps
.
Implementations§
source§impl DeviceFileSystem
impl DeviceFileSystem
Trait Implementations§
source§impl Default for DeviceFileSystem
impl Default for DeviceFileSystem
source§impl VfsOps for DeviceFileSystem
impl VfsOps for DeviceFileSystem
source§fn mount(&self, _path: &str, mount_point: VfsNodeRef) -> VfsResult
fn mount(&self, _path: &str, mount_point: VfsNodeRef) -> VfsResult
Do something when the filesystem is mounted.
source§fn root_dir(&self) -> VfsNodeRef
fn root_dir(&self) -> VfsNodeRef
Get the root directory of the filesystem.
Auto Trait Implementations§
impl !RefUnwindSafe for DeviceFileSystem
impl Send for DeviceFileSystem
impl Sync for DeviceFileSystem
impl Unpin for DeviceFileSystem
impl !UnwindSafe for DeviceFileSystem
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