pub struct Archive { /* private fields */ }
Implementations§
Source§impl Archive
impl Archive
Sourcepub fn from_path<P: AsRef<Path>>(path: P) -> WriteResult<Self>
pub fn from_path<P: AsRef<Path>>(path: P) -> WriteResult<Self>
Create an archive from the path
Sourcepub fn write_to_path<P: AsRef<Path>>(&self, path: P) -> WriteResult<()>
pub fn write_to_path<P: AsRef<Path>>(&self, path: P) -> WriteResult<()>
Write archive to file at given path. Will create a new file or truncate it if allready existing
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Archive
impl RefUnwindSafe for Archive
impl Send for Archive
impl Sync for Archive
impl Unpin for Archive
impl UnwindSafe for Archive
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