Trait Decode

Source
pub(super) trait Decode<'a, 's, S>: Sized {
    // Required method
    fn decode(r: &mut &'a [u8], s: &'s S) -> Self;
}
🔬This is a nightly-only experimental API. (proc_macro_internals #27812)

Required Methods§

Source

fn decode(r: &mut &'a [u8], s: &'s S) -> Self

🔬This is a nightly-only experimental API. (proc_macro_internals #27812)

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§