pub enum SplitScheduleExecutionError {
MissingSourceIndex(StationId),
MissingTargetIndex(StationId),
CellMigration(CellMigrationError),
}Expand description
Split schedule execution error.
Variants§
MissingSourceIndex(StationId)
Source index is missing.
MissingTargetIndex(StationId)
Target index is missing.
CellMigration(CellMigrationError)
Cell migration failed.
Trait Implementations§
Source§impl Clone for SplitScheduleExecutionError
impl Clone for SplitScheduleExecutionError
Source§fn clone(&self) -> SplitScheduleExecutionError
fn clone(&self) -> SplitScheduleExecutionError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SplitScheduleExecutionError
Source§impl Debug for SplitScheduleExecutionError
impl Debug for SplitScheduleExecutionError
impl Eq for SplitScheduleExecutionError
Source§impl Error for SplitScheduleExecutionError
impl Error for SplitScheduleExecutionError
1.30.0 · 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 From<CellMigrationError> for SplitScheduleExecutionError
impl From<CellMigrationError> for SplitScheduleExecutionError
Source§fn from(value: CellMigrationError) -> Self
fn from(value: CellMigrationError) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for SplitScheduleExecutionError
Auto Trait Implementations§
impl Freeze for SplitScheduleExecutionError
impl RefUnwindSafe for SplitScheduleExecutionError
impl Send for SplitScheduleExecutionError
impl Sync for SplitScheduleExecutionError
impl Unpin for SplitScheduleExecutionError
impl UnsafeUnpin for SplitScheduleExecutionError
impl UnwindSafe for SplitScheduleExecutionError
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