pub struct HostFilesystem;Expand description
The real operating system.
Trait Implementations§
Source§impl Clone for HostFilesystem
impl Clone for HostFilesystem
Source§fn clone(&self) -> HostFilesystem
fn clone(&self) -> HostFilesystem
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for HostFilesystem
Source§impl Debug for HostFilesystem
impl Debug for HostFilesystem
Source§impl Default for HostFilesystem
impl Default for HostFilesystem
Source§fn default() -> HostFilesystem
fn default() -> HostFilesystem
Returns the “default value” for a type. Read more
impl Eq for HostFilesystem
Source§impl FilesystemProbe for HostFilesystem
impl FilesystemProbe for HostFilesystem
Source§fn identify(&self, directory: &Path) -> Result<FilesystemIdentity>
fn identify(&self, directory: &Path) -> Result<FilesystemIdentity>
The filesystem
directory — which exists — sits on. Read moreSource§fn is_writable(&self, directory: &Path) -> Result<bool>
fn is_writable(&self, directory: &Path) -> Result<bool>
Whether this account may create entries in
directory, which exists. Read moreSource§fn runs_as_superuser(&self) -> bool
fn runs_as_superuser(&self) -> bool
Whether this process runs with an identity that file permissions cannot
refuse. Read more
Source§impl PartialEq for HostFilesystem
impl PartialEq for HostFilesystem
impl StructuralPartialEq for HostFilesystem
Auto Trait Implementations§
impl Freeze for HostFilesystem
impl RefUnwindSafe for HostFilesystem
impl Send for HostFilesystem
impl Sync for HostFilesystem
impl Unpin for HostFilesystem
impl UnsafeUnpin for HostFilesystem
impl UnwindSafe for HostFilesystem
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