Enum cdrs::consistency::Consistency [] [src]

pub enum Consistency {
    Any,
    One,
    Two,
    Three,
    Quorum,
    All,
    LocalQuorum,
    EachQuorum,
    Serial,
    LocalSerial,
    LocalOne,
}

Consistency is an enum which represents Cassandra's consistency levels. To find more details about each consistency level please refer to Cassandra official docs.

Variants

Trait Implementations

impl Debug for Consistency
[src]

Formats the value using the given formatter.

impl PartialEq for Consistency
[src]

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

This method tests for !=.

impl Clone for Consistency
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl IntoBytes for Consistency
[src]

It should convert a struct into an array of bytes.

impl From<i32> for Consistency
[src]

Performs the conversion.

impl FromBytes for Consistency
[src]

It gets and array of bytes and should return an implementor struct.

impl FromCursor for Consistency
[src]

It should return an implementor from an io::Cursor over an array of bytes.