pub enum Directory {
V1(Directory),
V5(Directory),
}Variants§
Implementations§
Source§impl Directory
impl Directory
pub fn name(&self) -> &str
pub fn encrypted(&self, _: Fork) -> bool
pub fn algorithm(&self, fork: Fork) -> Algorithm
pub fn uncompressed_size(&self, fork: Fork) -> usize
pub fn compressed_size(&self, fork: Fork) -> usize
pub fn offset(&self, fork: Fork) -> u64
pub fn checksum(&self, fork: Fork) -> u16
pub fn has(&self, fork: Fork) -> bool
pub fn comment(&self) -> &str
pub fn uses_encryption(&self) -> bool
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Directory
impl RefUnwindSafe for Directory
impl Send for Directory
impl Sync for Directory
impl Unpin for Directory
impl UnsafeUnpin for Directory
impl UnwindSafe for Directory
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