Trait essential_constraint_vm::asm::ToBytes

source ·
pub trait ToBytes {
    type Bytes: IntoIterator<Item = u8>;

    // Required method
    fn to_bytes(&self) -> Self::Bytes;
}
Expand description

Operation types that may be converted to their serialized form in bytes.

Required Associated Types§

source

type Bytes: IntoIterator<Item = u8>

The iterator yielding bytes.

Required Methods§

source

fn to_bytes(&self) -> Self::Bytes

Convert the operation to its serialized form in bytes.

Implementors§