Skip to main content

Decode

Trait Decode 

Source
pub trait Decode: Copy {
    type Context: Context;
    type Tuning: Tuning<Slot = <Self::Context as Context>::Slot>;

    // Required methods
    fn from_raw(raw: u64) -> Result<Self, u64>;
    fn decode(self) -> Control<Self::Tuning>;
    fn control(self) -> <Self::Context as Context>::Control;
}
Expand description

A validated framework identity retaining its original diagnostic value.

Required Associated Types§

Required Methods§

Source

fn from_raw(raw: u64) -> Result<Self, u64>

Source

fn decode(self) -> Control<Self::Tuning>

Source

fn control(self) -> <Self::Context as Context>::Control

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§