pub enum TokenChallengeExternalProjection<Transport, SourceCleanliness> {
Continue {
connection: Conn<Transport, TokenResponse, SourceCleanliness>,
message: TokenChallengeContinueExternalTransitionMessage,
source_cleanliness: PhantomData<SourceCleanliness>,
},
Ok {
connection: Conn<Transport, AwaitingStartupReady, SourceCleanliness>,
message: TokenChallengeOkExternalTransitionMessage,
source_cleanliness: PhantomData<SourceCleanliness>,
},
Error {
connection: Conn<Transport, Terminated, SourceCleanliness>,
message: TokenChallengeErrorExternalTransitionMessage,
source_cleanliness: PhantomData<SourceCleanliness>,
},
// some variants omitted
}Expand description
Typed next-connection projection for TokenChallengeExternalMessage.
Variants§
Continue
The Event::Continue transition and its correctly typed next connection.
Fields
connection: Conn<Transport, TokenResponse, SourceCleanliness>Connection after applying the selected message transition.
message: TokenChallengeContinueExternalTransitionMessageValidated message which selected this transition.
source_cleanliness: PhantomData<SourceCleanliness>Retains the source cleanliness parameter even when replaced.
Ok
The Event::Ok transition and its correctly typed next connection.
Fields
connection: Conn<Transport, AwaitingStartupReady, SourceCleanliness>Connection after applying the selected message transition.
message: TokenChallengeOkExternalTransitionMessageValidated 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, Terminated, SourceCleanliness>Connection after applying the selected message transition.
message: TokenChallengeErrorExternalTransitionMessageValidated message which selected this transition.
source_cleanliness: PhantomData<SourceCleanliness>Retains the source cleanliness parameter even when replaced.