pub enum SimpleInternalProjection<Transport, SourceCleanliness> {
Continue {
connection: Conn<Transport, Simple, SourceCleanliness>,
message: SimpleContinueInternalTransitionMessage,
source_cleanliness: PhantomData<SourceCleanliness>,
},
CopyIn {
connection: Conn<Transport, SimpleCopyIn, SourceCleanliness>,
message: SimpleCopyInInternalTransitionMessage,
source_cleanliness: PhantomData<SourceCleanliness>,
},
CopyOut {
connection: Conn<Transport, SimpleCopyOut, SourceCleanliness>,
message: SimpleCopyOutInternalTransitionMessage,
source_cleanliness: PhantomData<SourceCleanliness>,
},
CopyBoth {
connection: Conn<Transport, SimpleCopyBoth, SourceCleanliness>,
message: SimpleCopyBothInternalTransitionMessage,
source_cleanliness: PhantomData<SourceCleanliness>,
},
Ready {
connection: Conn<Transport, Ready, SourceCleanliness>,
message: SimpleReadyInternalTransitionMessage,
source_cleanliness: PhantomData<SourceCleanliness>,
},
Error {
connection: Conn<Transport, SimpleError, SourceCleanliness>,
message: SimpleErrorInternalTransitionMessage,
source_cleanliness: PhantomData<SourceCleanliness>,
},
// some variants omitted
}Expand description
Typed next-connection projection for SimpleInternalMessage.
Variants§
Continue
The Event::Continue transition and its correctly typed next connection.
Fields
connection: Conn<Transport, Simple, SourceCleanliness>Connection after applying the selected message transition.
message: SimpleContinueInternalTransitionMessageValidated message which selected this transition.
source_cleanliness: PhantomData<SourceCleanliness>Retains the source cleanliness parameter even when replaced.
CopyIn
The Event::CopyIn transition and its correctly typed next connection.
Fields
connection: Conn<Transport, SimpleCopyIn, SourceCleanliness>Connection after applying the selected message transition.
message: SimpleCopyInInternalTransitionMessageValidated message which selected this transition.
source_cleanliness: PhantomData<SourceCleanliness>Retains the source cleanliness parameter even when replaced.
CopyOut
The Event::CopyOut transition and its correctly typed next connection.
Fields
connection: Conn<Transport, SimpleCopyOut, SourceCleanliness>Connection after applying the selected message transition.
message: SimpleCopyOutInternalTransitionMessageValidated message which selected this transition.
source_cleanliness: PhantomData<SourceCleanliness>Retains the source cleanliness parameter even when replaced.
CopyBoth
The Event::CopyBoth transition and its correctly typed next connection.
Fields
connection: Conn<Transport, SimpleCopyBoth, SourceCleanliness>Connection after applying the selected message transition.
message: SimpleCopyBothInternalTransitionMessageValidated message which selected this transition.
source_cleanliness: PhantomData<SourceCleanliness>Retains the source cleanliness parameter even when replaced.
Ready
The Event::Ready transition and its correctly typed next connection.
Fields
connection: Conn<Transport, Ready, SourceCleanliness>Connection after applying the selected message transition.
message: SimpleReadyInternalTransitionMessageValidated message which selected this transition.
source_cleanliness: PhantomData<SourceCleanliness>Retains the source cleanliness parameter even when replaced.
Error
The Event::Error transition and its correctly typed next connection.
Fields
connection: Conn<Transport, SimpleError, SourceCleanliness>Connection after applying the selected message transition.
message: SimpleErrorInternalTransitionMessageValidated message which selected this transition.
source_cleanliness: PhantomData<SourceCleanliness>Retains the source cleanliness parameter even when replaced.