Trait Decodable

Source
pub trait Decodable<P: Primitive>: Send + Sync {
    // Required methods
    fn handle_atoms(
        atoms: Vec<P::A>,
        depth: u8,
        byte_idx: usize,
    ) -> CoreResult<Self>
       where Self: Sized;
    fn handle_null(byte_idx: usize) -> Self
       where Self: Sized;
    fn combine(outputs: Vec<Self>, depth: u8, byte_idx: usize) -> Self
       where Self: Sized;
}

Required Methods§

Source

fn handle_atoms( atoms: Vec<P::A>, depth: u8, byte_idx: usize, ) -> CoreResult<Self>
where Self: Sized,

Source

fn handle_null(byte_idx: usize) -> Self
where Self: Sized,

Source

fn combine(outputs: Vec<Self>, depth: u8, byte_idx: usize) -> Self
where Self: Sized,

Implementations on Foreign Types§

Source§

impl<P: Primitive> Decodable<P> for FieldValue

Implementors§