pub enum ExtendedErrorExternalProjection<Transport, SourceCleanliness> {
Discard {
connection: Conn<Transport, ExtendedError, SourceCleanliness>,
message: ExtendedErrorDiscardExternalTransitionMessage,
source_cleanliness: PhantomData<SourceCleanliness>,
},
Sync {
connection: Conn<Transport, SyncResponse, SourceCleanliness>,
message: ExtendedErrorSyncExternalTransitionMessage,
source_cleanliness: PhantomData<SourceCleanliness>,
},
// some variants omitted
}Expand description
Typed next-connection projection for ExtendedErrorExternalMessage.
Variants§
Discard
The Event::Discard transition and its correctly typed next connection.
Fields
§
connection: Conn<Transport, ExtendedError, SourceCleanliness>Connection after applying the selected message transition.
§
message: ExtendedErrorDiscardExternalTransitionMessageValidated message which selected this transition.
§
source_cleanliness: PhantomData<SourceCleanliness>Retains the source cleanliness parameter even when replaced.
Sync
The Event::Sync transition and its correctly typed next connection.
Fields
§
connection: Conn<Transport, SyncResponse, SourceCleanliness>Connection after applying the selected message transition.
§
message: ExtendedErrorSyncExternalTransitionMessageValidated message which selected this transition.
§
source_cleanliness: PhantomData<SourceCleanliness>Retains the source cleanliness parameter even when replaced.
Auto Trait Implementations§
impl<Transport, SourceCleanliness> !Freeze for ExtendedErrorExternalProjection<Transport, SourceCleanliness>
impl<Transport, SourceCleanliness> RefUnwindSafe for ExtendedErrorExternalProjection<Transport, SourceCleanliness>where
Transport: RefUnwindSafe,
SourceCleanliness: RefUnwindSafe,
impl<Transport, SourceCleanliness> Send for ExtendedErrorExternalProjection<Transport, SourceCleanliness>
impl<Transport, SourceCleanliness> Sync for ExtendedErrorExternalProjection<Transport, SourceCleanliness>
impl<Transport, SourceCleanliness> Unpin for ExtendedErrorExternalProjection<Transport, SourceCleanliness>
impl<Transport, SourceCleanliness> UnsafeUnpin for ExtendedErrorExternalProjection<Transport, SourceCleanliness>where
Transport: UnsafeUnpin,
impl<Transport, SourceCleanliness> UnwindSafe for ExtendedErrorExternalProjection<Transport, SourceCleanliness>where
Transport: UnwindSafe,
SourceCleanliness: UnwindSafe,
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more