Trait sqlite_compressions::Encoder
source · pub trait Encoder {
// Required methods
fn enc_name() -> &'static str;
fn dec_name() -> &'static str;
fn test_name() -> &'static str;
fn encode(data: &[u8], quality: Option<u32>) -> Result<Vec<u8>>;
fn decode(data: &[u8]) -> Result<Vec<u8>>;
fn test(data: &[u8]) -> bool;
}Required Methods§
fn enc_name() -> &'static str
fn dec_name() -> &'static str
fn test_name() -> &'static str
fn encode(data: &[u8], quality: Option<u32>) -> Result<Vec<u8>>
fn decode(data: &[u8]) -> Result<Vec<u8>>
fn test(data: &[u8]) -> bool
Object Safety§
This trait is not object safe.