pub trait CdrSerializer {
Show 16 methods // Required methods fn serialize_bool(&mut self, v: bool) -> Result<(), Error>; fn serialize_i8(&mut self, v: i8) -> Result<(), Error>; fn serialize_i16(&mut self, v: i16) -> Result<(), Error>; fn serialize_i32(&mut self, v: i32) -> Result<(), Error>; fn serialize_i64(&mut self, v: i64) -> Result<(), Error>; fn serialize_u8(&mut self, v: u8) -> Result<(), Error>; fn serialize_u16(&mut self, v: u16) -> Result<(), Error>; fn serialize_u32(&mut self, v: u32) -> Result<(), Error>; fn serialize_u64(&mut self, v: u64) -> Result<(), Error>; fn serialize_f32(&mut self, v: f32) -> Result<(), Error>; fn serialize_f64(&mut self, v: f64) -> Result<(), Error>; fn serialize_char(&mut self, v: char) -> Result<(), Error>; fn serialize_str(&mut self, v: &str) -> Result<(), Error>; fn serialize_seq(&mut self, v: &[impl CdrSerialize]) -> Result<(), Error>; fn serialize_array<const N: usize>( &mut self, v: &[impl CdrSerialize; N] ) -> Result<(), Error>; fn serialize_unit(&mut self) -> Result<(), Error>;
}

Required Methods§

source

fn serialize_bool(&mut self, v: bool) -> Result<(), Error>

source

fn serialize_i8(&mut self, v: i8) -> Result<(), Error>

source

fn serialize_i16(&mut self, v: i16) -> Result<(), Error>

source

fn serialize_i32(&mut self, v: i32) -> Result<(), Error>

source

fn serialize_i64(&mut self, v: i64) -> Result<(), Error>

source

fn serialize_u8(&mut self, v: u8) -> Result<(), Error>

source

fn serialize_u16(&mut self, v: u16) -> Result<(), Error>

source

fn serialize_u32(&mut self, v: u32) -> Result<(), Error>

source

fn serialize_u64(&mut self, v: u64) -> Result<(), Error>

source

fn serialize_f32(&mut self, v: f32) -> Result<(), Error>

source

fn serialize_f64(&mut self, v: f64) -> Result<(), Error>

source

fn serialize_char(&mut self, v: char) -> Result<(), Error>

source

fn serialize_str(&mut self, v: &str) -> Result<(), Error>

source

fn serialize_seq(&mut self, v: &[impl CdrSerialize]) -> Result<(), Error>

source

fn serialize_array<const N: usize>( &mut self, v: &[impl CdrSerialize; N] ) -> Result<(), Error>

source

fn serialize_unit(&mut self) -> Result<(), Error>

Object Safety§

This trait is not object safe.

Implementors§