Trait ockam_core::Decodable

source ·
pub trait Decodable: Sized {
    // Required method
    fn decode(e: &[u8]) -> Result<Self>;
}
Expand description

Decode a slice.

Required Methods§

source

fn decode(e: &[u8]) -> Result<Self>

Decode a slice.

Object Safety§

This trait is not object safe.

Implementors§