Enum cdrs::frame::Flag [] [src]

pub enum Flag {
    Compression,
    Tracing,
    CustomPayload,
    Warning,
    Ignore,
}

Frame's flag

Variants

Methods

impl Flag
[src]

The method converts a serie of Flag-s into a single byte.

Indicates if flags contains Flag::Compression

Indicates if flags contains Flag::Tracing

Indicates if flags contains Flag::CustomPayload

Indicates if flags contains Flag::Warning

Trait Implementations

impl Debug for Flag
[src]

Formats the value using the given formatter.

impl PartialEq for Flag
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl AsByte for Flag
[src]

It should represent a struct as a single byte.

impl From<u8> for Flag
[src]

Performs the conversion.