pub enum ReadyInternalProjection<Transport, SourceCleanliness> {
Query {
connection: Conn<Transport, Simple, Dirty>,
message: ReadyQueryInternalTransitionMessage,
source_cleanliness: PhantomData<SourceCleanliness>,
},
FunctionCall {
connection: Conn<Transport, FunctionCalling, Dirty>,
message: ReadyFunctionCallInternalTransitionMessage,
source_cleanliness: PhantomData<SourceCleanliness>,
},
Terminate {
connection: Conn<Transport, Terminated, SourceCleanliness>,
message: ReadyTerminateInternalTransitionMessage,
source_cleanliness: PhantomData<SourceCleanliness>,
},
// some variants omitted
}Expand description
Typed next-connection projection for ReadyInternalMessage.
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: ReadyQueryInternalTransitionMessageValidated 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, FunctionCalling, Dirty>Connection after applying the selected message transition.
message: ReadyFunctionCallInternalTransitionMessageValidated 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: ReadyTerminateInternalTransitionMessageValidated message which selected this transition.
source_cleanliness: PhantomData<SourceCleanliness>Retains the source cleanliness parameter even when replaced.