Trait mz_pgwire_common::codec::Pgbuf

source ·
pub trait Pgbuf: BufMut {
    // Required methods
    fn put_string(&mut self, s: &str);
    fn put_length_i16(&mut self, len: usize) -> Result<(), Error>;
    fn put_format_i8(&mut self, format: Format);
    fn put_format_i16(&mut self, format: Format);
}

Required Methods§

source

fn put_string(&mut self, s: &str)

source

fn put_length_i16(&mut self, len: usize) -> Result<(), Error>

source

fn put_format_i8(&mut self, format: Format)

source

fn put_format_i16(&mut self, format: Format)

Implementors§

source§

impl<B: BufMut> Pgbuf for B