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