pub trait AnyWalker: Sized {
// Required method
fn visit_file_entry(
&mut self,
entry: &mut FileEntry<impl Read>,
) -> Result<()>;
// Provided methods
fn begin_visit_archive(
&mut self,
details: &EntryDetails,
format: FormatKind,
) -> Result<bool> { ... }
fn end_visit_archive(
&mut self,
details: EntryDetails,
format: FormatKind,
) -> Result<()> { ... }
fn walk(&mut self, entry: FileEntry<impl Read>) -> Result<()> { ... }
}
Required Methods§
Provided Methods§
fn begin_visit_archive( &mut self, details: &EntryDetails, format: FormatKind, ) -> Result<bool>
fn end_visit_archive( &mut self, details: EntryDetails, format: FormatKind, ) -> Result<()>
fn walk(&mut self, entry: FileEntry<impl Read>) -> Result<()>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.