pub enum CellMigrationError {
Entity(EntityMigrationError),
MissingTargetRecord(EntityId),
MissingSourceRecord(EntityId),
}Expand description
Cell-level migration error.
Variants§
Entity(EntityMigrationError)
Entity migration failed.
MissingTargetRecord(EntityId)
Target owner record was not found after a successful migration.
MissingSourceRecord(EntityId)
Source ghost record was not found after a successful migration.
Trait Implementations§
Source§impl Clone for CellMigrationError
impl Clone for CellMigrationError
Source§fn clone(&self) -> CellMigrationError
fn clone(&self) -> CellMigrationError
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 CellMigrationError
Source§impl Debug for CellMigrationError
impl Debug for CellMigrationError
Source§impl Display for CellMigrationError
impl Display for CellMigrationError
impl Eq for CellMigrationError
Source§impl Error for CellMigrationError
impl Error for CellMigrationError
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.
Source§impl From<EntityMigrationError> for CellMigrationError
impl From<EntityMigrationError> for CellMigrationError
Source§fn from(value: EntityMigrationError) -> Self
fn from(value: EntityMigrationError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for CellMigrationError
impl PartialEq for CellMigrationError
impl StructuralPartialEq for CellMigrationError
Auto Trait Implementations§
impl Freeze for CellMigrationError
impl RefUnwindSafe for CellMigrationError
impl Send for CellMigrationError
impl Sync for CellMigrationError
impl Unpin for CellMigrationError
impl UnsafeUnpin for CellMigrationError
impl UnwindSafe for CellMigrationError
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