Joiner

Trait Joiner 

Source
pub trait Joiner {
    // Required method
    fn and<V>(self, value: &V) -> Self
       where V: Codec;
}
Expand description

Trait to allow itself to be serialised into a value which can be extended by bytes.

Required Methods§

Source

fn and<V>(self, value: &V) -> Self
where V: Codec,

Append encoding of value to Self.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<T> Joiner for T
where T: for<'a> Extend<&'a u8>,