pub struct FileMeta { /* private fields */ }Expand description
A snapshot of filesystem metadata obtained via fstat/fstatat.
Implements crate::preserve::Metadata so callers can apply these fields
to another entry with the existing set_*_metadata helpers.
Trait Implementations§
Source§impl Metadata for FileMeta
impl Metadata for FileMeta
fn uid(&self) -> u32
fn gid(&self) -> u32
fn atime(&self) -> i64
fn atime_nsec(&self) -> i64
fn mtime(&self) -> i64
fn mtime_nsec(&self) -> i64
fn permissions(&self) -> Permissions
fn ctime(&self) -> i64
fn ctime_nsec(&self) -> i64
fn size(&self) -> u64
Auto Trait Implementations§
impl Freeze for FileMeta
impl RefUnwindSafe for FileMeta
impl Send for FileMeta
impl Sync for FileMeta
impl Unpin for FileMeta
impl UnsafeUnpin for FileMeta
impl UnwindSafe for FileMeta
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request