pub struct Mount {
pub prefix: String,
pub backend: Box<dyn Vfs>,
}Expand description
A single mount point mapping a path prefix to a backend.
Fields§
§prefix: StringPrefix (e.g. /store or /git). Must start with /.
backend: Box<dyn Vfs>Provider serving this mount point.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Mount
impl !UnwindSafe for Mount
impl Freeze for Mount
impl Send for Mount
impl Sync for Mount
impl Unpin for Mount
impl UnsafeUnpin for Mount
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