Enum edgedb_protocol::client_message::ClientMessage [−][src]
#[non_exhaustive]
pub enum ClientMessage {
Show 15 variants
ClientHandshake(ClientHandshake),
ExecuteScript(ExecuteScript),
Prepare(Prepare),
DescribeStatement(DescribeStatement),
Execute(Execute),
UnknownMessage(u8, Bytes),
AuthenticationSaslInitialResponse(SaslInitialResponse),
AuthenticationSaslResponse(SaslResponse),
Dump(Dump),
Restore(Restore),
RestoreBlock(RestoreBlock),
RestoreEof,
Sync,
Flush,
Terminate,
}Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ClientHandshake(ClientHandshake)Tuple Fields of ClientHandshake
ExecuteScript(ExecuteScript)Tuple Fields of ExecuteScript
Prepare(Prepare)Tuple Fields of Prepare
0: PrepareDescribeStatement(DescribeStatement)Tuple Fields of DescribeStatement
Execute(Execute)Tuple Fields of Execute
0: ExecuteAuthenticationSaslInitialResponse(SaslInitialResponse)Tuple Fields of AuthenticationSaslInitialResponse
AuthenticationSaslResponse(SaslResponse)Tuple Fields of AuthenticationSaslResponse
0: SaslResponseDump(Dump)Tuple Fields of Dump
0: DumpRestore(Restore)Tuple Fields of Restore
0: RestoreRestoreBlock(RestoreBlock)Tuple Fields of RestoreBlock
0: RestoreBlockImplementations
Decode exactly one frame from the buffer
This expect full frame already be in the buffer. It can return arbitrary error or be silent if message is only partially present in the buffer or if extra data present.
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for ClientMessage
impl Send for ClientMessage
impl Sync for ClientMessage
impl Unpin for ClientMessage
impl UnwindSafe for ClientMessage
Blanket Implementations
Mutably borrows from an owned value. Read more