Trait SupportedEncodings

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

Required Methods§

Source

fn gzip(&self) -> bool

Source

fn deflate(&self) -> bool

Source

fn br(&self) -> bool

Source

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§

Source§

impl SupportedEncodings for bool

Source§

fn gzip(&self) -> bool

Source§

fn deflate(&self) -> bool

Source§

fn br(&self) -> bool

Source§

fn zstd(&self) -> bool

Implementors§