pub enum SimpleCopyInExternalProjection<Transport, SourceCleanliness> {
Data {
connection: Conn<Transport, SimpleCopyIn, SourceCleanliness>,
message: SimpleCopyInDataExternalTransitionMessage,
source_cleanliness: PhantomData<SourceCleanliness>,
},
Done {
connection: Conn<Transport, SimpleCopyInDone, SourceCleanliness>,
message: SimpleCopyInDoneExternalTransitionMessage,
source_cleanliness: PhantomData<SourceCleanliness>,
},
Fail {
connection: Conn<Transport, SimpleCopyInFailed, SourceCleanliness>,
message: SimpleCopyInFailExternalTransitionMessage,
source_cleanliness: PhantomData<SourceCleanliness>,
},
// some variants omitted
}Expand description
Typed next-connection projection for SimpleCopyInExternalMessage.
Variants§
Data
The Event::Data transition and its correctly typed next connection.
Fields
connection: Conn<Transport, SimpleCopyIn, SourceCleanliness>Connection after applying the selected message transition.
message: SimpleCopyInDataExternalTransitionMessageValidated message which selected this transition.
source_cleanliness: PhantomData<SourceCleanliness>Retains the source cleanliness parameter even when replaced.
Done
The Event::Done transition and its correctly typed next connection.
Fields
connection: Conn<Transport, SimpleCopyInDone, SourceCleanliness>Connection after applying the selected message transition.
message: SimpleCopyInDoneExternalTransitionMessageValidated message which selected this transition.
source_cleanliness: PhantomData<SourceCleanliness>Retains the source cleanliness parameter even when replaced.
Fail
The Event::Fail transition and its correctly typed next connection.
Fields
connection: Conn<Transport, SimpleCopyInFailed, SourceCleanliness>Connection after applying the selected message transition.
message: SimpleCopyInFailExternalTransitionMessageValidated message which selected this transition.
source_cleanliness: PhantomData<SourceCleanliness>Retains the source cleanliness parameter even when replaced.