Skip to main content

Decode

Trait Decode 

Source
pub trait Decode: Sized {
    // Required method
    fn decode(buf: &mut impl Buf) -> Result<Self>;
}

Required Methods§

Source

fn decode(buf: &mut impl Buf) -> Result<Self>

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementations on Foreign Types§

Source§

impl Decode for PlcValue

Source§

fn decode(buf: &mut impl Buf) -> Result<Self>

Source§

impl Decode for UdtData

Source§

fn decode(buf: &mut impl Buf) -> Result<Self>

Implementors§