[−][src]Struct vapor_archive::read::archive::Archive
The Archive struct
Implementations
impl<'r, R: Read + Seek + 'r> Archive<R>
[src]
pub fn new(source: R) -> Result<Self>
[src]
Creates a new archive, wrapping the given source
pub fn get_file_list(&self) -> Vec<String>
[src]
Lists all files
pub fn get_file(&'r mut self, path: &str) -> Result<File<'r, R>>
[src]
Gets a File stream by path
pub fn get_file_info(&mut self, path: &str) -> Result<FileInfo>
[src]
Gets a files info by path
Auto Trait Implementations
impl<R> RefUnwindSafe for Archive<R> where
R: RefUnwindSafe,
R: RefUnwindSafe,
impl<R> Send for Archive<R> where
R: Send,
R: Send,
impl<R> Sync for Archive<R> where
R: Sync,
R: Sync,
impl<R> Unpin for Archive<R> where
R: Unpin,
R: Unpin,
impl<R> UnwindSafe for Archive<R> where
R: UnwindSafe,
R: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,