Struct fuchsia_archive::AsyncReader
source · 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