pub struct MountSpec {
pub guest_path: String,
pub host: PathBuf,
pub volume: String,
pub access: Access,
pub quota: Option<Arc<DiskQuota>>,
}Expand description
What the server hands Vfs::with_mount: a volume it has resolved by name.
Fields§
§guest_path: StringAbsolute guest path, already validated by the blueprint parser; checked again here so a direct embedder cannot build an ambiguous table.
host: PathBuf§volume: String§access: Access§quota: Option<Arc<DiskQuota>>Shared by every VFS that mounts the same volume, so one limit spans them.
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