[][src]Enum transact::scheduler::SchedulerError

pub enum SchedulerError {
    DuplicateBatch(String),
    Internal(String),
    NoTaskIterator,
    SchedulerFinalized,
    UnexpectedNotification(String),
}

Variants

DuplicateBatch(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)

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)

An ExecutionTaskCompletionNotification was received for a transaction that the scheduler was not expecting; the contained String is the transaction ID.

Trait Implementations

impl Clone for SchedulerError[src]

impl<'_> From<PoisonError<MutexGuard<'_, MultiSchedulerShared>>> for SchedulerError[src]

impl From<SendError<MultiSchedulerCoreMessage>> for SchedulerError[src]

impl<'_> From<PoisonError<MutexGuard<'_, Shared>>> for SchedulerError[src]

impl From<SendError<CoreMessage>> for SchedulerError[src]

impl Debug for SchedulerError[src]

impl Display for SchedulerError[src]

impl Error for SchedulerError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> SafeBorrow<T> for T where
    T: ?Sized

impl<'a, T> DefaultFeatures<'a> for T where
    T: 'a + Send + Sync + Clone

impl<'a, T> NonSyncFeatures<'a> for T where
    T: 'a + Clone

impl<T> Same<T> for T

type Output = T

Should always be Self