pub struct MountPoint {
pub path: String,
pub fs_type: FsType,
pub blkfs: Option<Arc<BlkFS>>,
pub virtualfs: Option<Arc<dyn VirtualFileSystem>>,
}Expand description
挂载点 — 将一个文件系统挂载到指定路径
Fields§
§path: String挂载路径 (如 “/mnt”)
fs_type: FsType挂载的文件系统类型标识
blkfs: Option<Arc<BlkFS>>BlkFS 实例 (如果是块设备文件系统)
virtualfs: Option<Arc<dyn VirtualFileSystem>>VirtualFS 实例 (如果是 procfs/sysfs/devtmpfs 等伪文件系统)
Auto Trait Implementations§
impl !RefUnwindSafe for MountPoint
impl !UnwindSafe for MountPoint
impl Forget for MountPoint
impl Freeze for MountPoint
impl Send for MountPoint
impl Sync for MountPoint
impl Unpin for MountPoint
impl UnsafeUnpin for MountPoint
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