pub enum ExtendedCopyInExternalProjection<Transport, SourceCleanliness> {
Data {
connection: Conn<Transport, ExtendedCopyIn, SourceCleanliness>,
message: ExtendedCopyInDataExternalTransitionMessage,
source_cleanliness: PhantomData<SourceCleanliness>,
},
Done {
connection: Conn<Transport, ExtendedCopyInDone, SourceCleanliness>,
message: ExtendedCopyInDoneExternalTransitionMessage,
source_cleanliness: PhantomData<SourceCleanliness>,
},
Fail {
connection: Conn<Transport, ExtendedCopyInFailed, SourceCleanliness>,
message: ExtendedCopyInFailExternalTransitionMessage,
source_cleanliness: PhantomData<SourceCleanliness>,
},
// some variants omitted
}Expand description
Typed next-connection projection for ExtendedCopyInExternalMessage.
Variants§
Data
The Event::Data transition and its correctly typed next connection.
Fields
connection: Conn<Transport, ExtendedCopyIn, SourceCleanliness>Connection after applying the selected message transition.
message: ExtendedCopyInDataExternalTransitionMessageValidated 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, ExtendedCopyInDone, SourceCleanliness>Connection after applying the selected message transition.
message: ExtendedCopyInDoneExternalTransitionMessageValidated 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, ExtendedCopyInFailed, SourceCleanliness>Connection after applying the selected message transition.
message: ExtendedCopyInFailExternalTransitionMessageValidated message which selected this transition.
source_cleanliness: PhantomData<SourceCleanliness>Retains the source cleanliness parameter even when replaced.