pub enum CondOp {
Show 37 variants
FileExists,
IsFile,
IsDir,
IsSymlink,
IsReadable,
IsWritable,
IsExecutable,
IsNonEmpty,
IsBlockDev,
IsCharDev,
IsFifo,
IsSocket,
IsSetuid,
IsSetgid,
IsSticky,
OwnedByUser,
OwnedByGroup,
ModifiedSinceRead,
IsTty,
OptionSet,
VarIsSet,
StrEmpty,
StrNonEmpty,
StrEq,
StrNeq,
StrLt,
StrGt,
StrMatch,
IntEq,
IntNe,
IntLt,
IntLe,
IntGt,
IntGe,
NewerThan,
OlderThan,
SameFile,
}Expand description
Operators for [[ … ]] conditions.
Variants§
FileExists
IsFile
IsDir
IsSymlink
IsReadable
IsWritable
IsExecutable
IsNonEmpty
IsBlockDev
IsCharDev
IsFifo
IsSocket
IsSetuid
IsSetgid
IsSticky
OwnedByUser
OwnedByGroup
ModifiedSinceRead
IsTty
OptionSet
VarIsSet
StrEmpty
StrNonEmpty
StrEq
StrNeq
StrLt
StrGt
StrMatch
IntEq
IntNe
IntLt
IntLe
IntGt
IntGe
NewerThan
OlderThan
SameFile
Trait Implementations§
impl Eq for CondOp
impl StructuralPartialEq for CondOp
Auto Trait Implementations§
impl Freeze for CondOp
impl RefUnwindSafe for CondOp
impl Send for CondOp
impl Sync for CondOp
impl Unpin for CondOp
impl UnsafeUnpin for CondOp
impl UnwindSafe for CondOp
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