archive_to_parquet

Trait AnyWalker

Source
pub trait AnyWalker: Sized {
    // Required method
    fn visit_file_entry(
        &mut self,
        entry: &mut FileEntry<impl Read>,
    ) -> Result<(), Error>;

    // Provided methods
    fn begin_visit_archive(
        &mut self,
        details: &EntryDetails,
        format: FormatKind,
    ) -> Result<bool, Error> { ... }
    fn end_visit_archive(
        &mut self,
        details: EntryDetails,
        format: FormatKind,
    ) -> Result<(), Error> { ... }
    fn walk(&mut self, entry: FileEntry<impl Read>) -> Result<(), Error> { ... }
}

Required Methods§

Source

fn visit_file_entry( &mut self, entry: &mut FileEntry<impl Read>, ) -> Result<(), Error>

Provided Methods§

Source

fn begin_visit_archive( &mut self, details: &EntryDetails, format: FormatKind, ) -> Result<bool, Error>

Source

fn end_visit_archive( &mut self, details: EntryDetails, format: FormatKind, ) -> Result<(), Error>

Source

fn walk(&mut self, entry: FileEntry<impl Read>) -> Result<(), Error>

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.

Implementors§