Trait parity_scale_codec::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.

Object Safety§

This trait is not object safe.

Implementors§

source§

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