#[repr(u32)]pub enum FileType {
Regular,
Directory,
Block,
Character,
Link,
Socket,
Fifo,
AttrDir,
}
Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for FileType
impl<'de> Deserialize<'de> for FileType
source§fn deserialize<D>(deserializer: D) -> Result<FileType, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<FileType, D::Error>where D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<FileType> for FileType
impl PartialEq<FileType> for FileType
source§impl<'__deriveMoreLifetime> TryFrom<&'__deriveMoreLifetime FileAttribute> for &'__deriveMoreLifetime FileType
impl<'__deriveMoreLifetime> TryFrom<&'__deriveMoreLifetime FileAttribute> for &'__deriveMoreLifetime FileType
source§impl TryFrom<FileAttribute> for FileType
impl TryFrom<FileAttribute> 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