Enum snappy_framed::read::CrcMode [-] [+] [src]

pub enum CrcMode {
    Verify,
    Ignore,
}

Should we verify or ignore the CRC when reading?

Variants

Verify

Verify that the CRC values in the stream are correct.

Ignore

Ignore the CRC values.

Trait Implementations

Derived Implementations

impl Eq for CrcMode

impl PartialEq for CrcMode

fn eq(&self, __arg_0: &CrcMode) -> bool

fn ne(&self, __arg_0: &CrcMode) -> bool

impl Debug for CrcMode

fn fmt(&self, __arg_0: &mut Formatter) -> Result