pub struct MountSpec {
pub name: Option<String>,
pub path: PathBuf,
}Expand description
One mount source: a path, optionally under an explicit mount name
(the NAME=TARGET spelling); unnamed sources mount under their
file stem.
Fields§
§name: Option<String>§path: PathBufImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MountSpec
impl RefUnwindSafe for MountSpec
impl Send for MountSpec
impl Sync for MountSpec
impl Unpin for MountSpec
impl UnsafeUnpin for MountSpec
impl UnwindSafe for MountSpec
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