pub enum Qualifier {
Show 34 variants
IsRegular,
IsDirectory,
IsSymlink,
IsSocket,
IsFifo,
IsBlockDev,
IsCharDev,
IsDevice,
IsExecutable,
Readable,
Writable,
Executable,
WorldReadable,
WorldWritable,
WorldExecutable,
GroupReadable,
GroupWritable,
GroupExecutable,
Setuid,
Setgid,
Sticky,
OwnedByEuid,
OwnedByEgid,
OwnedByUid(u32),
OwnedByGid(u32),
Size {
value: u64,
unit: SizeUnit,
op: RangeOp,
},
Links {
value: u64,
op: RangeOp,
},
Atime {
value: i64,
unit: TimeUnit,
op: RangeOp,
},
Mtime {
value: i64,
unit: TimeUnit,
op: RangeOp,
},
Ctime {
value: i64,
unit: TimeUnit,
op: RangeOp,
},
Mode {
yes: u32,
no: u32,
},
Device(u64),
NonEmptyDir,
Eval(String),
}Expand description
A glob qualifier function
Variants§
IsRegular
File type qualifiers
IsDirectory
IsSymlink
IsSocket
IsFifo
IsBlockDev
IsCharDev
IsDevice
IsExecutable
Readable
Permission qualifiers
Writable
Executable
WorldReadable
WorldWritable
WorldExecutable
GroupReadable
GroupWritable
GroupExecutable
Setuid
Setgid
Sticky
OwnedByEuid
Ownership qualifiers
OwnedByEgid
OwnedByUid(u32)
OwnedByGid(u32)
Size
Numeric qualifiers with range
Links
Atime
Mtime
Ctime
Mode
Mode specification
Device(u64)
Device number
NonEmptyDir
Non-empty directory
Eval(String)
Shell evaluation
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Qualifier
impl RefUnwindSafe for Qualifier
impl Send for Qualifier
impl Sync for Qualifier
impl Unpin for Qualifier
impl UnsafeUnpin for Qualifier
impl UnwindSafe for Qualifier
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more