essential_app_utils::inputs

Trait Encode

source
pub trait Encode {
    type Output;

    // Required method
    fn encode(&self) -> Self::Output;
}

Required Associated Types§

Required Methods§

source

fn encode(&self) -> Self::Output

Implementations on Foreign Types§

source§

impl Encode for ContentAddress

source§

type Output = [i64; 4]

source§

fn encode(&self) -> Self::Output

source§

impl Encode for PredicateAddress

source§

type Output = ([i64; 4], [i64; 4])

source§

fn encode(&self) -> Self::Output

source§

impl Encode for RecoverableSignature

source§

fn encode(&self) -> Self::Output

Convert an ECDSA signature into the form expected by the generated ABI type.

source§

type Output = ([i64; 4], [i64; 4], i64)

source§

impl Encode for PublicKey

source§

fn encode(&self) -> Self::Output

Convert a public key into the form expected by the generated ABI type.

source§

type Output = ([i64; 4], i64)

Implementors§