pub struct MountState {
pub definition: FilesystemMountDefinition,
pub mounted: bool,
}Fields§
§definition: FilesystemMountDefinition§mounted: boolTells if the filesystem is currently mounted.
Implementations§
Source§impl MountState
impl MountState
pub fn new(definition: FilesystemMountDefinition, mounted: bool) -> Self
Trait Implementations§
Source§impl Clone for MountState
impl Clone for MountState
Source§fn clone(&self) -> MountState
fn clone(&self) -> MountState
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 MountState
impl RefUnwindSafe for MountState
impl Send for MountState
impl Sync for MountState
impl Unpin for MountState
impl UnwindSafe for MountState
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