pub struct Entry { /* private fields */ }Implementations§
Source§impl Entry
impl Entry
pub fn new(entry_type: EntryType) -> Entry
pub fn entry_type(&self) -> EntryType
pub fn is_file(&self) -> bool
pub fn is_dir(&self) -> bool
pub fn content(&self) -> Option<&Vec<u8>>
pub fn set_content(&mut self, content: &[u8])
pub fn append_content(&mut self, content: &[u8])
Trait Implementations§
impl StructuralPartialEq for Entry
Auto Trait Implementations§
impl Freeze for Entry
impl RefUnwindSafe for Entry
impl Send for Entry
impl Sync for Entry
impl Unpin for Entry
impl UnsafeUnpin for Entry
impl UnwindSafe for Entry
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