Trait ockam_core::Encodable

source ·
pub trait Encodable {
    // Required method
    fn encode(&self) -> Result<Encoded>;
}
Expand description

Encode the type into an Encoded type.

Required Methods§

source

fn encode(&self) -> Result<Encoded>

Encode the type into an Encoded type.

Implementors§