pub trait EncodeWithMetadata {
// Required method
fn encode_with_metadata(
&self,
type_id: u32,
metadata: &Metadata,
bytes: &mut Vec<u8>,
) -> Result<(), Error>;
}
Expand description
This trait is implemented for all types that also implement scale_encode::EncodeAsType
.