Skip to main content

Joiner

Trait Joiner 

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

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

Required Methods§

Source

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

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".

Implementors§

Source§

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