pub enum SimpleCopyBothInternalProjection<Transport, SourceCleanliness> {
SendData {
connection: Conn<Transport, SimpleCopyBoth, SourceCleanliness>,
message: SimpleCopyBothSendDataInternalTransitionMessage,
source_cleanliness: PhantomData<SourceCleanliness>,
},
SendDone {
connection: Conn<Transport, SimpleCopyBothServerDone, SourceCleanliness>,
message: SimpleCopyBothSendDoneInternalTransitionMessage,
source_cleanliness: PhantomData<SourceCleanliness>,
},
Error {
connection: Conn<Transport, SimpleCopyReady, SourceCleanliness>,
message: SimpleCopyBothErrorInternalTransitionMessage,
source_cleanliness: PhantomData<SourceCleanliness>,
},
// some variants omitted
}Expand description
Typed next-connection projection for SimpleCopyBothInternalMessage.
Variants§
SendData
The Event::SendData transition and its correctly typed next connection.
Fields
connection: Conn<Transport, SimpleCopyBoth, SourceCleanliness>Connection after applying the selected message transition.
message: SimpleCopyBothSendDataInternalTransitionMessageValidated message which selected this transition.
source_cleanliness: PhantomData<SourceCleanliness>Retains the source cleanliness parameter even when replaced.
SendDone
The Event::SendDone transition and its correctly typed next connection.
Fields
connection: Conn<Transport, SimpleCopyBothServerDone, SourceCleanliness>Connection after applying the selected message transition.
message: SimpleCopyBothSendDoneInternalTransitionMessageValidated 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, SimpleCopyReady, SourceCleanliness>Connection after applying the selected message transition.
message: SimpleCopyBothErrorInternalTransitionMessageValidated message which selected this transition.
source_cleanliness: PhantomData<SourceCleanliness>Retains the source cleanliness parameter even when replaced.