#[non_exhaustive]pub enum RealtimeFrameExecutionError<TransitionError, TransactionError> {
Transition(TransitionError),
CompletionAttachment(RealtimeCompletionAttachmentError),
Publication(TransactionError),
}Expand description
Failure while executing or atomically publishing one realtime frame.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Transition(TransitionError)
Frame ingress or architecture execution failed before publication.
CompletionAttachment(RealtimeCompletionAttachmentError)
The returned completion could not be attached to the exact branch.
Publication(TransactionError)
Exact completion or atomic state publication failed.
Trait Implementations§
Source§impl<TransitionError: Debug, TransactionError: Debug> Debug for RealtimeFrameExecutionError<TransitionError, TransactionError>
impl<TransitionError: Debug, TransactionError: Debug> Debug for RealtimeFrameExecutionError<TransitionError, TransactionError>
Source§impl<TransitionError, TransactionError> Display for RealtimeFrameExecutionError<TransitionError, TransactionError>
impl<TransitionError, TransactionError> Display for RealtimeFrameExecutionError<TransitionError, TransactionError>
Source§impl<TransitionError, TransactionError> Error for RealtimeFrameExecutionError<TransitionError, TransactionError>
impl<TransitionError, TransactionError> Error for RealtimeFrameExecutionError<TransitionError, TransactionError>
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl<TransitionError, TransactionError> From<RealtimeCompletionAttachmentError> for RealtimeFrameExecutionError<TransitionError, TransactionError>
impl<TransitionError, TransactionError> From<RealtimeCompletionAttachmentError> for RealtimeFrameExecutionError<TransitionError, TransactionError>
Source§fn from(source: RealtimeCompletionAttachmentError) -> Self
fn from(source: RealtimeCompletionAttachmentError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<TransitionError, TransactionError> Freeze for RealtimeFrameExecutionError<TransitionError, TransactionError>
impl<TransitionError, TransactionError> RefUnwindSafe for RealtimeFrameExecutionError<TransitionError, TransactionError>where
TransitionError: RefUnwindSafe,
TransactionError: RefUnwindSafe,
impl<TransitionError, TransactionError> Send for RealtimeFrameExecutionError<TransitionError, TransactionError>
impl<TransitionError, TransactionError> Sync for RealtimeFrameExecutionError<TransitionError, TransactionError>
impl<TransitionError, TransactionError> Unpin for RealtimeFrameExecutionError<TransitionError, TransactionError>
impl<TransitionError, TransactionError> UnsafeUnpin for RealtimeFrameExecutionError<TransitionError, TransactionError>where
TransitionError: UnsafeUnpin,
TransactionError: UnsafeUnpin,
impl<TransitionError, TransactionError> UnwindSafe for RealtimeFrameExecutionError<TransitionError, TransactionError>where
TransitionError: UnwindSafe,
TransactionError: UnwindSafe,
Blanket Implementations§
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