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