Trait Decode

Source
pub trait Decode<Rhs> {
    type Output;

    // Required method
    fn decode(values: Rhs) -> Self::Output;
}
Expand description

Decode defines a standard interface for decoding data.

Required Associated Types§

Required Methods§

Source

fn decode(values: Rhs) -> Self::Output

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.

Implementors§