[][src]Trait ni::decoder::decode::Decode

pub trait Decode<A>: Sized {
    type Err;
    fn decode<R>(bytes: &mut R, args: A) -> Result<Self, Self::Err>
    where
        R: Read
; }

Associated Types

type Err

Loading content...

Required methods

fn decode<R>(bytes: &mut R, args: A) -> Result<Self, Self::Err> where
    R: Read

Loading content...

Implementations on Foreign Types

impl Decode<()> for (BinOp, OpType, ArithmeticMode)[src]

type Err = DecodeError

impl Decode<()> for (OpType, Mode, Variant)[src]

type Err = DecodeError

impl Decode<()> for (OpType, OpType)[src]

type Err = DecodeError

Loading content...

Implementors

impl Decode<Variant> for BinOp[src]

type Err = DecodeError

impl Decode<Variant> for UnOp[src]

type Err = DecodeError

impl Decode<()> for Op[src]

type Err = DecodeError

impl Decode<()> for OpType[src]

type Err = DecodeError

impl Decode<()> for Operand[src]

type Err = DecodeError

impl Decode<()> for UnOp[src]

type Err = DecodeError

Loading content...