pub struct AsyncReader<T>{ /* private fields */ }
Expand description
A struct to open and read a FAR-formatted archive asynchronously.
Implementations§
Source§impl<T> AsyncReader<T>
impl<T> AsyncReader<T>
Sourcepub async fn new(source: T) -> Result<Self, Error>
pub async fn new(source: T) -> Result<Self, Error>
Create a new AsyncReader for the provided source.
Sourcepub fn list(&self) -> impl ExactSizeIterator<Item = Entry<'_>>
pub fn list(&self) -> impl ExactSizeIterator<Item = Entry<'_>>
Return a list of the items in the archive
Trait Implementations§
Source§impl<T> Debug for AsyncReader<T>
impl<T> Debug for AsyncReader<T>
Auto Trait Implementations§
impl<T> Freeze for AsyncReader<T>where
T: Freeze,
impl<T> RefUnwindSafe for AsyncReader<T>where
T: RefUnwindSafe,
impl<T> Send for AsyncReader<T>where
T: Send,
impl<T> Sync for AsyncReader<T>where
T: Sync,
impl<T> Unpin for AsyncReader<T>
impl<T> UnwindSafe for AsyncReader<T>where
T: UnwindSafe,
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