Skip to main content

Rawifiable

Trait Rawifiable 

Source
pub trait Rawifiable: Sized {
    // Required method
    fn from_raw(raw: &[u8], smell: Option<Smellage>) -> Result<Self, KERIError>;
}
Expand description

Trait that must be implemented by types that can be parsed

Required Methods§

Source

fn from_raw(raw: &[u8], smell: Option<Smellage>) -> Result<Self, KERIError>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§