pub struct OverlayFS { /* private fields */ }Expand description
Overlay filesystem manager
Implementations§
Source§impl OverlayFS
impl OverlayFS
pub fn new(config: OverlayConfig) -> Self
pub fn setup(&mut self) -> Result<()>
pub fn is_mounted(&self) -> bool
pub fn merged_path(&self) -> &Path
pub fn upper_path(&self) -> &Path
pub fn lower_path(&self) -> &Path
pub fn cleanup(&mut self) -> Result<()>
pub fn get_changes_size(&self) -> Result<u64>
Auto Trait Implementations§
impl Freeze for OverlayFS
impl RefUnwindSafe for OverlayFS
impl Send for OverlayFS
impl Sync for OverlayFS
impl Unpin for OverlayFS
impl UnsafeUnpin for OverlayFS
impl UnwindSafe for OverlayFS
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