Enum cassandra_protocol::frame::ParseFrameError[][src]

pub enum ParseFrameError {
    NotEnoughBytes,
    UnsupportedVersion(u8),
    UnsupportedOpcode(u8),
    DecompressionError(CompressionError),
    InvalidUuid(Error),
    InvalidWarnings(Error),
}

Variants

NotEnoughBytes

There are not enough bytes to parse a single frame, Frame::from_buffer should be recalled when it is possible that there are more bytes.

UnsupportedVersion(u8)

Tuple Fields

0: u8

The version is not supported by cassandra-protocol, a server implementation should handle this by returning a server error with the message “Invalid or unsupported protocol version”.

UnsupportedOpcode(u8)

Tuple Fields

0: u8

DecompressionError(CompressionError)

Tuple Fields

InvalidUuid(Error)

Tuple Fields

0: Error

InvalidWarnings(Error)

Tuple Fields

0: Error

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.