Struct Mode
pub(in ::sys::fs::unix) struct Mode(pub(in ::sys::fs::unix) mode_t);
Fields
0: mode_t
Trait Implementations
impl Clone for Mode
fn clone(&self) -> Mode
impl Copy for Mode
impl Debug for Mode
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl TrivialClone for Mode
Auto Trait Implementations
impl Freeze for Mode
impl RefUnwindSafe for Mode
impl Send for Mode
impl Sync for Mode
impl Unpin for Mode
impl UnsafeUnpin for Mode
impl UnwindSafe for Mode
Blanket Implementations
impl<T> Any for Mode
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for Mode
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for Mode
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for Mode
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for Mode
fn from(t: T) -> TReturns the argument unchanged.
impl<T> Printable for Mode
where
T: Copy + Debug,
impl<T> SizeHint for Mode
where
T: ?Sized,
fn lower_bound(&self) -> usizefn upper_bound(&self) -> Option<usize>
impl<T> SizedTypeProperties for Mode
impl<T> ToOwned for Mode
where
T: Clone,
type Owned = T;fn to_owned(&self) -> Tfn clone_into(&self, target: &mut T)
impl<T, U> Into<U> for Mode
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for Mode
where
U: Into<T>,
type Error = Infallible;fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto<U> for Mode
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>