Skip to main content

Encode

Trait Encode 

Source
pub trait Encode {
    // Required method
    fn encode(&self, buf: &mut BytesMut);
}

Required Methods§

Source

fn encode(&self, buf: &mut BytesMut)

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl Encode for PlcValue

Source§

fn encode(&self, buf: &mut BytesMut)

Source§

impl Encode for UdtData

Source§

fn encode(&self, buf: &mut BytesMut)

Implementors§