Skip to main content

SupportedEncodings

Trait SupportedEncodings 

pub trait SupportedEncodings: Copy {
    // Required methods
    fn gzip(&self) -> bool;
    fn deflate(&self) -> bool;
    fn br(&self) -> bool;
    fn zstd(&self) -> bool;
}
Available on crate feature http only.

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".

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§