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§
impl Copy for FileType
impl Eq for FileType
impl StructuralPartialEq for FileType
Auto Trait Implementations§
impl Freeze for FileType
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