pub enum ReadyExternalProjection<Transport, SourceCleanliness> {
Query {
connection: Conn<Transport, Simple, Dirty>,
message: ReadyQueryExternalTransitionMessage,
source_cleanliness: PhantomData<SourceCleanliness>,
},
Parse {
connection: Conn<Transport, ParseResponse, Dirty>,
message: ReadyParseExternalTransitionMessage,
source_cleanliness: PhantomData<SourceCleanliness>,
},
Bind {
connection: Conn<Transport, BindResponse, Dirty>,
message: ReadyBindExternalTransitionMessage,
source_cleanliness: PhantomData<SourceCleanliness>,
},
Describe {
connection: Conn<Transport, DescribeResponse, SourceCleanliness>,
message: ReadyDescribeExternalTransitionMessage,
source_cleanliness: PhantomData<SourceCleanliness>,
},
Execute {
connection: Conn<Transport, ExecuteResponse, Dirty>,
message: ReadyExecuteExternalTransitionMessage,
source_cleanliness: PhantomData<SourceCleanliness>,
},
Close {
connection: Conn<Transport, CloseResponse, SourceCleanliness>,
message: ReadyCloseExternalTransitionMessage,
source_cleanliness: PhantomData<SourceCleanliness>,
},
FunctionCall {
connection: Conn<Transport, FunctionResponse, Dirty>,
message: ReadyFunctionCallExternalTransitionMessage,
source_cleanliness: PhantomData<SourceCleanliness>,
},
Terminate {
connection: Conn<Transport, Terminated, SourceCleanliness>,
message: ReadyTerminateExternalTransitionMessage,
source_cleanliness: PhantomData<SourceCleanliness>,
},
// some variants omitted
}Expand description
Typed next-connection projection for ReadyExternalMessage.
Variants§
Query
The Event::Query transition and its correctly typed next connection.
Fields
connection: Conn<Transport, Simple, Dirty>Connection after applying the selected message transition.
message: ReadyQueryExternalTransitionMessageValidated message which selected this transition.
source_cleanliness: PhantomData<SourceCleanliness>Retains the source cleanliness parameter even when replaced.
Parse
The Event::Parse transition and its correctly typed next connection.
Fields
connection: Conn<Transport, ParseResponse, Dirty>Connection after applying the selected message transition.
message: ReadyParseExternalTransitionMessageValidated message which selected this transition.
source_cleanliness: PhantomData<SourceCleanliness>Retains the source cleanliness parameter even when replaced.
Bind
The Event::Bind transition and its correctly typed next connection.
Fields
connection: Conn<Transport, BindResponse, Dirty>Connection after applying the selected message transition.
message: ReadyBindExternalTransitionMessageValidated message which selected this transition.
source_cleanliness: PhantomData<SourceCleanliness>Retains the source cleanliness parameter even when replaced.
Describe
The Event::Describe transition and its correctly typed next connection.
Fields
connection: Conn<Transport, DescribeResponse, SourceCleanliness>Connection after applying the selected message transition.
message: ReadyDescribeExternalTransitionMessageValidated message which selected this transition.
source_cleanliness: PhantomData<SourceCleanliness>Retains the source cleanliness parameter even when replaced.
Execute
The Event::Execute transition and its correctly typed next connection.
Fields
connection: Conn<Transport, ExecuteResponse, Dirty>Connection after applying the selected message transition.
message: ReadyExecuteExternalTransitionMessageValidated message which selected this transition.
source_cleanliness: PhantomData<SourceCleanliness>Retains the source cleanliness parameter even when replaced.
Close
The Event::Close transition and its correctly typed next connection.
Fields
connection: Conn<Transport, CloseResponse, SourceCleanliness>Connection after applying the selected message transition.
message: ReadyCloseExternalTransitionMessageValidated message which selected this transition.
source_cleanliness: PhantomData<SourceCleanliness>Retains the source cleanliness parameter even when replaced.
FunctionCall
The Event::FunctionCall transition and its correctly typed next connection.
Fields
connection: Conn<Transport, FunctionResponse, Dirty>Connection after applying the selected message transition.
message: ReadyFunctionCallExternalTransitionMessageValidated message which selected this transition.
source_cleanliness: PhantomData<SourceCleanliness>Retains the source cleanliness parameter even when replaced.
Terminate
The Event::Terminate transition and its correctly typed next connection.
Fields
connection: Conn<Transport, Terminated, SourceCleanliness>Connection after applying the selected message transition.
message: ReadyTerminateExternalTransitionMessageValidated message which selected this transition.
source_cleanliness: PhantomData<SourceCleanliness>Retains the source cleanliness parameter even when replaced.