pub struct MinMeta {
pub kind: FileTypeKind,
pub len: u64,
pub mtime: FileTime,
pub mode: u32,
pub ino: u64,
pub dev: u64,
pub uid: u32,
pub gid: u32,
}Expand description
Minimal metadata ripsync needs per entry: type, size, mtime, mode, and inode/device (for hardlink detection and the persistent index).
Fields§
§kind: FileTypeKindEntry kind.
len: u64Byte length (files only).
mtime: FileTimeModification time of the entry itself (links not followed).
mode: u32Unix permission+type bits.
ino: u64Inode number.
dev: u64Device id.
uid: u32User id.
gid: u32Group id.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MinMeta
impl RefUnwindSafe for MinMeta
impl Send for MinMeta
impl Sync for MinMeta
impl Unpin for MinMeta
impl UnsafeUnpin for MinMeta
impl UnwindSafe for MinMeta
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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