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

pub trait AsByte {
    fn as_byte(&self) -> u8;
}

AsBytes should be used to convert a value into a single byte.

Required methods

fn as_byte(&self) -> u8

It should represent a struct as a single byte.

Loading content...

Implementors

impl AsByte for Flag[src]

impl AsByte for Opcode[src]

impl AsByte for Version[src]

impl AsByte for BatchType[src]

impl AsByte for QueryFlags[src]

Loading content...