pub struct DirectoryExistsOpts {
pub do_not_follow_symlinks: Option<bool>,
pub expected_type: Option<ExistsType>,
}
Fields§
§do_not_follow_symlinks: Option<bool>
If specified, do not follow symlinks.
expected_type: Option<ExistsType>
If specified, also validate the type of file (e.g. “REGULAR_TYPE”, “DIRECTORY_TYPE”, or “SYMLINK_TYPE”).
Trait Implementations§
Source§impl Debug for DirectoryExistsOpts
impl Debug for DirectoryExistsOpts
Source§impl PartialEq for DirectoryExistsOpts
impl PartialEq for DirectoryExistsOpts
impl StructuralPartialEq for DirectoryExistsOpts
Auto Trait Implementations§
impl Freeze for DirectoryExistsOpts
impl RefUnwindSafe for DirectoryExistsOpts
impl Send for DirectoryExistsOpts
impl Sync for DirectoryExistsOpts
impl Unpin for DirectoryExistsOpts
impl UnwindSafe for DirectoryExistsOpts
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