Writable

Trait Writable 

Source
pub trait Writable {
    // Required method
    fn write(&self, tx: &mut dyn Writer);
}
Expand description

Value that can be transmitted through a Writer.

Required Methods§

Source

fn write(&self, tx: &mut dyn Writer)

Implementations on Foreign Types§

Source§

impl Writable for str

Source§

fn write(&self, tx: &mut dyn Writer)

Source§

impl Writable for u8

Source§

fn write(&self, tx: &mut dyn Writer)

Source§

impl Writable for String

Source§

fn write(&self, tx: &mut dyn Writer)

Source§

impl Writable for [u8]

Source§

fn write(&self, tx: &mut dyn Writer)

Source§

impl<T> Writable for &T
where T: Writable + ?Sized,

Source§

fn write(&self, tx: &mut dyn Writer)

Source§

impl<const N: usize> Writable for [u8; N]

Source§

fn write(&self, tx: &mut dyn Writer)

Implementors§