Struct ruplicity::signatures::Entry
source · pub struct Entry<'a> { /* private fields */ }
Expand description
Information about an entry inside a backup snapshot.
This could be a file, a directory, a link, etc.
Implementations§
source§impl<'a> Entry<'a>
impl<'a> Entry<'a>
sourcepub fn size_hint(&self) -> Option<(usize, usize)>
pub fn size_hint(&self) -> Option<(usize, usize)>
Returns a lower and upper bound in bytes on the entry size.
Note that for directories, this returns a size of zero, even if on Linux directories are often considered to have a 4096 bytes size.
sourcepub fn entry_type(&self) -> EntryType
pub fn entry_type(&self) -> EntryType
Returns the type of the entry.
Trait Implementations§
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Entry<'a>
impl<'a> Send for Entry<'a>
impl<'a> Sync for Entry<'a>
impl<'a> Unpin for Entry<'a>
impl<'a> UnwindSafe for Entry<'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