Enum transact::scheduler::SchedulerError [−][src]
pub enum SchedulerError {
DuplicateBatch(String),
Internal(String),
NoTaskIterator,
SchedulerFinalized,
UnexpectedNotification(String),
}
Variants
DuplicateBatch(String)
Tuple Fields
0: String
The scheduler’s add_batch
method was called with a batch that the scheduler already has
pending or in progress; the contained String
is the batch ID.
Internal(String)
Tuple Fields
0: String
An internal error occurred that the scheduler could not recover from.
NoTaskIterator
A scheduler only has one task iterator, so its take_task_iterator
method can only be
called once.
SchedulerFinalized
The scheduler’s add_batch
method was called, but the scheduler was already finalized
UnexpectedNotification(String)
Tuple Fields
0: String
An ExecutionTaskCompletionNotification
was received for a transaction that the scheduler
was not expecting; the contained String
is the transaction ID.
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for SchedulerError
impl Send for SchedulerError
impl Sync for SchedulerError
impl Unpin for SchedulerError
impl UnwindSafe for SchedulerError
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn clone_boxed(&self) -> Box<dyn DefaultFeatures<'a> + 'a, Global>
pub fn clone_boxed(&self) -> Box<dyn DefaultFeatures<'a> + 'a, Global>
Clone this value, and then immediately put it into a Box
behind a trait object of this trait. Read more
pub fn self_address_mut(&mut self) -> *mut ()
pub fn self_address_mut(&mut self) -> *mut ()
Returns the address of self
. 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<'a, T> NonSyncFeatures<'a> for T where
T: 'a + Clone,
impl<'a, T> NonSyncFeatures<'a> for T where
T: 'a + Clone,
pub fn clone_boxed(&self) -> Box<dyn NonSyncFeatures<'a> + 'a, Global>
pub fn clone_boxed(&self) -> Box<dyn NonSyncFeatures<'a> + 'a, Global>
Clone this value, and then immediately put it into a Box
behind a trait object of this trait. Read more
pub fn self_address_mut(&mut self) -> *mut ()
pub fn self_address_mut(&mut self) -> *mut ()
Returns the address of self
. 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