pub trait ArchiveRead {
// Required methods
fn next_entry(&mut self) -> Result<Option<Entry<'_>>>;
fn by_index(&mut self, index: usize) -> Result<Entry<'_>>;
fn fidelity(&self) -> &FidelityReport;
}Required Methods§
Sourcefn next_entry(&mut self) -> Result<Option<Entry<'_>>>
fn next_entry(&mut self) -> Result<Option<Entry<'_>>>
Forward iteration. Available for every container on every input — this
is the streaming path, and the reason Entry borrows.
Sourcefn by_index(&mut self, index: usize) -> Result<Entry<'_>>
fn by_index(&mut self, index: usize) -> Result<Entry<'_>>
Random access. Err(NotSeekable) when the ladder could not supply seek.
fn fidelity(&self) -> &FidelityReport
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".