pub struct FileType(pub Type);
Tuple Fields§
§0: Type
Implementations§
source§impl FileType
impl FileType
pub const UNKNOWN: FileType = _
pub const BLOCK_DEVICE: FileType = _
pub const CHARACTER_DEVICE: FileType = _
pub const DIRECTORY: FileType = _
pub const REGULAR_FILE: FileType = _
pub const SOCKET_DGRAM: FileType = _
pub const SOCKET_STREAM: FileType = _
pub const SYMBOLIC_LINK: FileType = _
Trait Implementations§
source§impl PartialEq for FileType
impl PartialEq for FileType
impl 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