Struct simple_zip::unzip::Unzip
source · pub struct Unzip;Implementations§
source§impl Unzip
impl Unzip
sourcepub fn local_str(filepath: &str)
pub fn local_str(filepath: &str)
unzip file from a file path in the format of &str
§Example
use simple_zip::unzip::Unzip;
let path = "./a.zip";
Unzip::local_str(&path);sourcepub fn local_buffer(filepath: &Path)
pub fn local_buffer(filepath: &Path)
unzip file from a PathBuffer
§Example
use std::path::Path;
use simple_zip::unzip::Unzip;
let path = "./a.zip";
let pathbuf = Path::new(&path);
Unzip::local_buffer(&pathbuf);Auto Trait Implementations§
impl RefUnwindSafe for Unzip
impl Send for Unzip
impl Sync for Unzip
impl Unpin for Unzip
impl UnwindSafe for Unzip
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