Enum linux_stat::FileType
source · pub enum FileType {
Block,
Character,
Directory,
Fifo,
Link,
Regular,
Socket,
Unknown,
}
Expand description
File type representation.
Variants§
Block
Block file type.
Character
Character file type.
Directory
Directory file type.
Fifo
FIFO file type.
Link
Link file type.
Regular
Regular file type.
Socket
Socket file type.
Unknown
Unknown file type.
Implementations§
Trait Implementations§
source§impl Ord for FileType
impl Ord for FileType
source§impl PartialEq<FileType> for FileType
impl PartialEq<FileType> for FileType
source§impl PartialOrd<FileType> for FileType
impl PartialOrd<FileType> for FileType
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 FileType
impl Eq for FileType
impl StructuralEq for FileType
impl StructuralPartialEq for FileType
Auto Trait Implementations§
impl RefUnwindSafe for FileType
impl Send for FileType
impl Sync for FileType
impl Unpin for FileType
impl UnwindSafe for FileType
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