Module edgedb_protocol::server_message
source · Expand description
The ServerMessage enum and related types. EdgeDB website documentation on messages here.
ⓘ
pub enum ServerMessage {
ServerHandshake(ServerHandshake),
UnknownMessage(u8, Bytes),
LogMessage(LogMessage),
ErrorResponse(ErrorResponse),
Authentication(Authentication),
ReadyForCommand(ReadyForCommand),
ServerKeyData(ServerKeyData),
ParameterStatus(ParameterStatus),
CommandComplete0(CommandComplete0),
CommandComplete1(CommandComplete1),
PrepareComplete(PrepareComplete),
CommandDataDescription0(CommandDataDescription0), // protocol < 1.0
CommandDataDescription1(CommandDataDescription1), // protocol >= 1.0
StateDataDescription(StateDataDescription),
Data(Data),
RestoreReady(RestoreReady),
DumpHeader(RawPacket),
DumpBlock(RawPacket),
}
Re-exports§
pub use crate::common::Cardinality;
pub use crate::common::RawTypedesc;
pub use crate::common::State;