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§
Source§impl Clone for MountPoint
impl Clone for MountPoint
Source§fn clone(&self) -> MountPoint
fn clone(&self) -> MountPoint
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto 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