pub struct MountPoint {
pub path: PathBuf,
pub name: String,
pub fs: Arc<Box<dyn FileSystem + Send + Sync>>,
}
Fields§
§path: PathBuf
§name: String
§fs: Arc<Box<dyn FileSystem + Send + Sync>>
Implementations§
Source§impl MountPoint
impl MountPoint
pub fn fs(&self) -> &(dyn FileSystem + Send + Sync)
pub fn mount_point_ref(&self) -> MountPointRef<'_>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MountPoint
impl !RefUnwindSafe for MountPoint
impl Send for MountPoint
impl Sync for MountPoint
impl Unpin for MountPoint
impl !UnwindSafe 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