Struct scm_record::FileMode
source · pub struct FileMode(pub usize);Expand description
The Unix file mode. The special mode 0 indicates that the file did not exist.
Tuple Fields§
§0: usizeImplementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for FileMode
impl<'de> Deserialize<'de> for FileMode
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Ord for FileMode
impl Ord for FileMode
source§impl PartialEq<FileMode> for FileMode
impl PartialEq<FileMode> for FileMode
source§impl PartialOrd<FileMode> for FileMode
impl PartialOrd<FileMode> for FileMode
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for FileMode
impl Eq for FileMode
impl StructuralEq for FileMode
impl StructuralPartialEq for FileMode
Auto Trait Implementations§
impl RefUnwindSafe for FileMode
impl Send for FileMode
impl Sync for FileMode
impl Unpin for FileMode
impl UnwindSafe for FileMode
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