Trait SupportedEncodings

pub trait SupportedEncodings: Copy {
    // Required methods
    fn gzip(&self) -> bool;
    fn deflate(&self) -> bool;
    fn br(&self) -> bool;
    fn zstd(&self) -> bool;
}

Required Methods§

fn gzip(&self) -> bool

fn deflate(&self) -> bool

fn br(&self) -> bool

fn zstd(&self) -> bool

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.

Implementations on Foreign Types§

§

impl SupportedEncodings for bool

§

fn gzip(&self) -> bool

§

fn deflate(&self) -> bool

§

fn br(&self) -> bool

§

fn zstd(&self) -> bool

Implementors§