[][src]Trait cdrs_tokio::frame::traits::FromSingleByte

pub trait FromSingleByte {
    fn from_byte(byte: u8) -> Self;
}

FromSingleByte should be used to convert a single byte into a value. It is opposite to AsByte.

Required methods

fn from_byte(byte: u8) -> Self

It should convert a single byte into an implementor struct.

Loading content...

Implementors

impl FromSingleByte for BatchType[src]

Loading content...