Trait WriteTuple

Source
pub trait WriteTuple: Sized {
    type Parent: TypedParent;

    // Required methods
    fn write_field(self, value: &impl StrictEncode) -> Result<Self>;
    fn complete(self) -> Self::Parent;
}

Required Associated Types§

Required Methods§

Source

fn write_field(self, value: &impl StrictEncode) -> Result<Self>

Source

fn complete(self) -> Self::Parent

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§