parent
6871b3f240
commit
bba33ecd86
3 changed files with 3 additions and 3 deletions
|
@ -141,7 +141,7 @@ pub struct Permissions(fs_imp::FilePermissions);
|
||||||
|
|
||||||
/// An structure representing a type of file with accessors for each file type.
|
/// An structure representing a type of file with accessors for each file type.
|
||||||
#[stable(feature = "file_type", since = "1.1.0")]
|
#[stable(feature = "file_type", since = "1.1.0")]
|
||||||
#[derive(Copy, Clone, PartialEq, Eq, Hash)]
|
#[derive(Copy, Clone, PartialEq, Eq, Hash, Debug)]
|
||||||
pub struct FileType(fs_imp::FileType);
|
pub struct FileType(fs_imp::FileType);
|
||||||
|
|
||||||
/// A builder used to create directories in various manners.
|
/// A builder used to create directories in various manners.
|
||||||
|
|
|
@ -84,7 +84,7 @@ pub struct OpenOptions {
|
||||||
#[derive(Clone, PartialEq, Eq, Debug)]
|
#[derive(Clone, PartialEq, Eq, Debug)]
|
||||||
pub struct FilePermissions { mode: mode_t }
|
pub struct FilePermissions { mode: mode_t }
|
||||||
|
|
||||||
#[derive(Copy, Clone, PartialEq, Eq, Hash)]
|
#[derive(Copy, Clone, PartialEq, Eq, Hash, Debug)]
|
||||||
pub struct FileType { mode: mode_t }
|
pub struct FileType { mode: mode_t }
|
||||||
|
|
||||||
pub struct DirBuilder { mode: mode_t }
|
pub struct DirBuilder { mode: mode_t }
|
||||||
|
|
|
@ -38,7 +38,7 @@ pub struct FileAttr {
|
||||||
reparse_tag: c::DWORD,
|
reparse_tag: c::DWORD,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Copy, Clone, PartialEq, Eq, Hash)]
|
#[derive(Copy, Clone, PartialEq, Eq, Hash, Debug)]
|
||||||
pub enum FileType {
|
pub enum FileType {
|
||||||
Dir, File, SymlinkFile, SymlinkDir, ReparsePoint, MountPoint,
|
Dir, File, SymlinkFile, SymlinkDir, ReparsePoint, MountPoint,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue