pub enum PathProperty<'a> {
Uid(u32),
Gid(u32),
Mode(&'a str),
Type(PathType),
Size(u64),
Link(PathBuf),
Md5Digest(Md5Checksum),
Sha256Digest(Sha256Checksum),
Time(i64),
}
Expand description
This type is used in a path line to define properties for that path.
Variants§
Uid(u32)
A user ID.
Gid(u32)
A group ID.
Mode(&'a str)
A file mode.
Type(PathType)
A path type.
Size(u64)
A file size.
Link(PathBuf)
The target of a symlink.
Md5Digest(Md5Checksum)
An MD-5 hash digest.
Sha256Digest(Sha256Checksum)
A SHA-256 hash digest.
Time(i64)
A point in time in seconds since the epoch.
Trait Implementations§
Source§impl<'a> Clone for PathProperty<'a>
impl<'a> Clone for PathProperty<'a>
Source§fn clone(&self) -> PathProperty<'a>
fn clone(&self) -> PathProperty<'a>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl<'a> Freeze for PathProperty<'a>
impl<'a> RefUnwindSafe for PathProperty<'a>
impl<'a> Send for PathProperty<'a>
impl<'a> Sync for PathProperty<'a>
impl<'a> Unpin for PathProperty<'a>
impl<'a> UnwindSafe for PathProperty<'a>
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