Skip to main content

Writer

Trait Writer 

Source
pub trait Writer {
    // Required methods
    fn nothing(&mut self);
    fn int(&mut self, value: i64);
    fn flt(&mut self, value: f64);
    fn str(&mut self, value: &str);
}
Expand description

Sink for typed cell values during serialization.

Required Methods§

Source

fn nothing(&mut self)

Writes a null cell.

Source

fn int(&mut self, value: i64)

Writes an integer cell.

Source

fn flt(&mut self, value: f64)

Writes a float cell.

Source

fn str(&mut self, value: &str)

Writes a string cell.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§