Trait flate2::ffi::Backend

source ·
pub trait Backend: Sync + Send {
    // Required methods
    fn total_in(&self) -> u64;
    fn total_out(&self) -> u64;
}
Expand description

Traits specifying the interface of the backends.

Sync + Send are added as a condition to ensure they are available for the frontend.

Required Methods§

source

fn total_in(&self) -> u64

source

fn total_out(&self) -> u64

Implementors§