[−][src]Struct rc_zip::Mode
Mode represents a file's mode and permission bits. The bits have the same definition on all systems, but not all bits apply to all systems.
It is modelled after Go's os.FileMode
.
Methods
impl Mode
[src]
pub const DIR: Self
[src]
d: is a directory
pub const APPEND: Self
[src]
a: append-only
pub const EXCLUSIVE: Self
[src]
l: exclusive use
pub const TEMPORARY: Self
[src]
T: temporary file; Plan 9 only
pub const SYMLINK: Self
[src]
L: symbolic link
pub const DEVICE: Self
[src]
D: device file
pub const NAMED_PIPE: Self
[src]
p: named pipe (FIFO)
pub const SOCKET: Self
[src]
S: Unix domain socket
pub const SETUID: Self
[src]
u: setuid
pub const SETGID: Self
[src]
g: setgid
pub const CHAR_DEVICE: Self
[src]
c: Unix character device, when DEVICE is set
pub const STICKY: Self
[src]
t: sticky
pub const IRREGULAR: Self
[src]
?: non-regular file; nothing else is known
impl Mode
[src]
Trait Implementations
impl BitAnd<Mode> for Mode
[src]
type Output = Self
The resulting type after applying the &
operator.
fn bitand(self, rhs: Self) -> Self
[src]
impl BitAndAssign<Mode> for Mode
[src]
fn bitand_assign(&mut self, rhs: Self)
[src]
impl BitOr<Mode> for Mode
[src]
type Output = Self
The resulting type after applying the |
operator.
fn bitor(self, rhs: Self) -> Self
[src]
impl BitOrAssign<Mode> for Mode
[src]
fn bitor_assign(&mut self, rhs: Self)
[src]
impl Clone for Mode
[src]
impl Copy for Mode
[src]
impl Debug for Mode
[src]
impl Display for Mode
[src]
impl Eq for Mode
[src]
impl From<MsdosMode> for Mode
[src]
impl From<UnixMode> for Mode
[src]
impl From<u32> for Mode
[src]
impl Hash for Mode
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<Mode> for Mode
[src]
impl StructuralEq for Mode
[src]
impl StructuralPartialEq for Mode
[src]
Auto Trait Implementations
impl RefUnwindSafe for Mode
impl Send for Mode
impl Sync for Mode
impl Unpin for Mode
impl UnwindSafe for Mode
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,