pub trait WriteCbor {
    // Required method
    fn write_cbor<W: Writer>(&self, w: W) -> W::Output;
}

Required Methods§

source

fn write_cbor<W: Writer>(&self, w: W) -> W::Output

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl WriteCbor for f32

source§

fn write_cbor<W: Writer>(&self, w: W) -> W::Output

source§

impl WriteCbor for f64

source§

fn write_cbor<W: Writer>(&self, w: W) -> W::Output

source§

impl WriteCbor for i16

source§

fn write_cbor<W: Writer>(&self, w: W) -> W::Output

source§

impl WriteCbor for i32

source§

fn write_cbor<W: Writer>(&self, w: W) -> W::Output

source§

impl WriteCbor for i64

source§

fn write_cbor<W: Writer>(&self, w: W) -> W::Output

source§

impl WriteCbor for i128

source§

fn write_cbor<W: Writer>(&self, w: W) -> W::Output

source§

impl WriteCbor for u16

source§

fn write_cbor<W: Writer>(&self, w: W) -> W::Output

source§

impl WriteCbor for u32

source§

fn write_cbor<W: Writer>(&self, w: W) -> W::Output

source§

impl WriteCbor for u64

source§

fn write_cbor<W: Writer>(&self, w: W) -> W::Output

source§

impl WriteCbor for String

source§

fn write_cbor<W: Writer>(&self, w: W) -> W::Output

source§

impl<'a> WriteCbor for &'a str

source§

fn write_cbor<W: Writer>(&self, w: W) -> W::Output

source§

impl<'a, T: ToOwned + WriteCbor> WriteCbor for Cow<'a, T>

source§

fn write_cbor<W: Writer>(&self, w: W) -> W::Output

source§

impl<K: WriteCbor> WriteCbor for BTreeSet<K>

source§

fn write_cbor<W: Writer>(&self, w: W) -> W::Output

source§

impl<K: WriteCbor> WriteCbor for HashSet<K>

source§

fn write_cbor<W: Writer>(&self, w: W) -> W::Output

source§

impl<K: WriteCbor, V: WriteCbor> WriteCbor for BTreeMap<K, V>

source§

fn write_cbor<W: Writer>(&self, w: W) -> W::Output

source§

impl<K: WriteCbor, V: WriteCbor> WriteCbor for HashMap<K, V>

source§

fn write_cbor<W: Writer>(&self, w: W) -> W::Output

source§

impl<T0: WriteCbor, T1: WriteCbor> WriteCbor for (T0, T1)

source§

fn write_cbor<W: Writer>(&self, w: W) -> W::Output

source§

impl<T0: WriteCbor, T1: WriteCbor, T2: WriteCbor> WriteCbor for (T0, T1, T2)

source§

fn write_cbor<W: Writer>(&self, w: W) -> W::Output

source§

impl<T0: WriteCbor, T1: WriteCbor, T2: WriteCbor, T3: WriteCbor> WriteCbor for (T0, T1, T2, T3)

source§

fn write_cbor<W: Writer>(&self, w: W) -> W::Output

source§

impl<T0: WriteCbor, T1: WriteCbor, T2: WriteCbor, T3: WriteCbor, T4: WriteCbor> WriteCbor for (T0, T1, T2, T3, T4)

source§

fn write_cbor<W: Writer>(&self, w: W) -> W::Output

source§

impl<T0: WriteCbor, T1: WriteCbor, T2: WriteCbor, T3: WriteCbor, T4: WriteCbor, T5: WriteCbor> WriteCbor for (T0, T1, T2, T3, T4, T5)

source§

fn write_cbor<W: Writer>(&self, w: W) -> W::Output

source§

impl<T0: WriteCbor, T1: WriteCbor, T2: WriteCbor, T3: WriteCbor, T4: WriteCbor, T5: WriteCbor, T6: WriteCbor> WriteCbor for (T0, T1, T2, T3, T4, T5, T6)

source§

fn write_cbor<W: Writer>(&self, w: W) -> W::Output

source§

impl<T0: WriteCbor, T1: WriteCbor, T2: WriteCbor, T3: WriteCbor, T4: WriteCbor, T5: WriteCbor, T6: WriteCbor, T7: WriteCbor> WriteCbor for (T0, T1, T2, T3, T4, T5, T6, T7)

source§

fn write_cbor<W: Writer>(&self, w: W) -> W::Output

source§

impl<T0: WriteCbor, T1: WriteCbor, T2: WriteCbor, T3: WriteCbor, T4: WriteCbor, T5: WriteCbor, T6: WriteCbor, T7: WriteCbor, T8: WriteCbor> WriteCbor for (T0, T1, T2, T3, T4, T5, T6, T7, T8)

source§

fn write_cbor<W: Writer>(&self, w: W) -> W::Output

source§

impl<T0: WriteCbor, T1: WriteCbor, T2: WriteCbor, T3: WriteCbor, T4: WriteCbor, T5: WriteCbor, T6: WriteCbor, T7: WriteCbor, T8: WriteCbor, T9: WriteCbor> WriteCbor for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9)

source§

fn write_cbor<W: Writer>(&self, w: W) -> W::Output

source§

impl<T: WriteCbor> WriteCbor for Option<T>

source§

fn write_cbor<W: Writer>(&self, w: W) -> W::Output

source§

impl<T: WriteCbor> WriteCbor for [T]

source§

fn write_cbor<W: Writer>(&self, w: W) -> W::Output

source§

impl<T: WriteCbor> WriteCbor for Vec<T>

source§

fn write_cbor<W: Writer>(&self, w: W) -> W::Output

source§

impl<T: ?Sized + WriteCbor> WriteCbor for &T

source§

fn write_cbor<W: Writer>(&self, w: W) -> W::Output

Implementors§