flate2::zio

Trait Flush

Source
pub trait Flush {
    // Required methods
    fn none() -> Self;
    fn sync() -> Self;
    fn finish() -> Self;
}

Required Methods§

Source

fn none() -> Self

Source

fn sync() -> Self

Source

fn finish() -> Self

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§