pub struct UnixFileSystemPermissionMode {
    pub mode: u32,
}Fields§
§mode: u32Implementations§
Source§impl UnixFileSystemPermissionMode
 
impl UnixFileSystemPermissionMode
pub fn fromMetadata(metadata: &Metadata) -> Self
pub fn fromPermissions(permissions: &Permissions) -> Self
pub fn isOwnerExecutable(&self) -> bool
pub fn isGroupExecutable(&self) -> bool
pub fn isOtherExecutable(&self) -> bool
pub fn isOwnerReadableAndExecutable(&self) -> bool
pub fn isAllExecutable(&self) -> bool
pub fn isAllWritable(&self) -> bool
pub fn isAllReadable(&self) -> bool
Trait Implementations§
Source§impl Clone for UnixFileSystemPermissionMode
 
impl Clone for UnixFileSystemPermissionMode
Source§fn clone(&self) -> UnixFileSystemPermissionMode
 
fn clone(&self) -> UnixFileSystemPermissionMode
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 moreSource§impl Debug for UnixFileSystemPermissionMode
 
impl Debug for UnixFileSystemPermissionMode
Source§impl Hash for UnixFileSystemPermissionMode
 
impl Hash for UnixFileSystemPermissionMode
Source§impl Ord for UnixFileSystemPermissionMode
 
impl Ord for UnixFileSystemPermissionMode
Source§fn cmp(&self, other: &UnixFileSystemPermissionMode) -> Ordering
 
fn cmp(&self, other: &UnixFileSystemPermissionMode) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
    Self: Sized,
 
fn max(self, other: Self) -> Selfwhere
    Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for UnixFileSystemPermissionMode
 
impl PartialEq for UnixFileSystemPermissionMode
Source§fn eq(&self, other: &UnixFileSystemPermissionMode) -> bool
 
fn eq(&self, other: &UnixFileSystemPermissionMode) -> bool
Tests for 
self and other values to be equal, and is used by ==.Source§impl PartialOrd for UnixFileSystemPermissionMode
 
impl PartialOrd for UnixFileSystemPermissionMode
impl Copy for UnixFileSystemPermissionMode
impl Eq for UnixFileSystemPermissionMode
impl StructuralPartialEq for UnixFileSystemPermissionMode
Auto Trait Implementations§
impl Freeze for UnixFileSystemPermissionMode
impl RefUnwindSafe for UnixFileSystemPermissionMode
impl Send for UnixFileSystemPermissionMode
impl Sync for UnixFileSystemPermissionMode
impl Unpin for UnixFileSystemPermissionMode
impl UnwindSafe for UnixFileSystemPermissionMode
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