Skip to main content

Decoder

Trait Decoder 

Source
pub trait Decoder: Send + Sync {
    // Required methods
    fn name(&self) -> &'static str;
    fn decode_chunk(&self, chunk: &Chunk) -> Vec<Chunk>;
}
Expand description

A trait for decoding chunks to find hidden secrets.

Required Methods§

Source

fn name(&self) -> &'static str

Source

fn decode_chunk(&self, chunk: &Chunk) -> Vec<Chunk>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§