Enum transact::scheduler::SchedulerError [−][src]
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.
A scheduler only has one task iterator, so its take_task_iterator
method can only be
called once.
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 Clone for SchedulerError
[src]fn clone(&self) -> SchedulerError
[src]
fn clone(&self) -> SchedulerError
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for SchedulerError
[src]
impl Debug for SchedulerError
[src]impl Display for SchedulerError
[src]
impl Display for SchedulerError
[src]impl Error for SchedulerError
[src]
impl Error for SchedulerError
[src]fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]The lower-level source of this error, if any. Read more
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
fn description(&self) -> &str
1.0.0[src]
fn description(&self) -> &str
1.0.0[src]use the Display impl or to_string()
impl From<PoisonError<MutexGuard<'_, MultiSchedulerShared>>> for SchedulerError
[src]
impl From<PoisonError<MutexGuard<'_, MultiSchedulerShared>>> for SchedulerError
[src]fn from(
error: PoisonError<MutexGuard<'_, MultiSchedulerShared>>
) -> SchedulerError
[src]
fn from(
error: PoisonError<MutexGuard<'_, MultiSchedulerShared>>
) -> SchedulerError
[src]Performs the conversion.
impl From<PoisonError<MutexGuard<'_, Shared>>> for SchedulerError
[src]
impl From<PoisonError<MutexGuard<'_, Shared>>> for SchedulerError
[src]fn from(error: PoisonError<MutexGuard<'_, Shared>>) -> SchedulerError
[src]
fn from(error: PoisonError<MutexGuard<'_, Shared>>) -> SchedulerError
[src]Performs the conversion.
impl From<SendError<CoreMessage>> for SchedulerError
[src]
impl From<SendError<CoreMessage>> for SchedulerError
[src]fn from(error: SendError<CoreMessage>) -> SchedulerError
[src]
fn from(error: SendError<CoreMessage>) -> SchedulerError
[src]Performs the conversion.
impl From<SendError<MultiSchedulerCoreMessage>> for SchedulerError
[src]
impl From<SendError<MultiSchedulerCoreMessage>> for SchedulerError
[src]fn from(error: SendError<MultiSchedulerCoreMessage>) -> SchedulerError
[src]
fn from(error: SendError<MultiSchedulerCoreMessage>) -> SchedulerError
[src]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
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<'a, T> DefaultFeatures<'a> for T where
T: 'a + Send + Sync + Clone,
impl<'a, T> DefaultFeatures<'a> for T where
T: 'a + Send + Sync + Clone,
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
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
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,