Enum transact::scheduler::ExecutionTaskCompletionNotification [−][src]
pub enum ExecutionTaskCompletionNotification {
Invalid(ContextId, InvalidTransactionResult),
Valid(ContextId, String),
}
Variants
Invalid(ContextId, InvalidTransactionResult)
The transation was invalid.
Tuple Fields of Invalid
The transation was valid (String is transaction ID).
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl Send for ExecutionTaskCompletionNotification
impl Sync for ExecutionTaskCompletionNotification
impl Unpin for ExecutionTaskCompletionNotification
Blanket Implementations
Mutably borrows from an owned value. Read more
Convert self
to an expression for Diesel’s query builder. Read more
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>,
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>,
Convert &self
to an expression for Diesel’s query builder. Read more
impl<T> SafeBorrow<T> for T where
T: ?Sized,
impl<T> SafeBorrow<T> for T where
T: ?Sized,
pub fn borrow_replacement(ptr: &T) -> &T
pub fn borrow_replacement(ptr: &T) -> &T
Given ptr
, which was obtained from a prior call to Self::borrow()
,
return a value with the same nominal lifetime which is guaranteed to
survive mutations to Self
. Read more