pub enum SyncRoutingContractError {
Sqlite(Error),
ForeignKey(ForeignKeySchemaError),
Json(Error),
UnsupportedVersion(u32),
Noncanonical,
UndeclaredForeignKeyTarget {
child_table: String,
parent_table: String,
},
MissingUniqueParentKey {
child_table: String,
parent_table: String,
columns: Vec<String>,
},
}Variants§
Sqlite(Error)
ForeignKey(ForeignKeySchemaError)
Json(Error)
UnsupportedVersion(u32)
Noncanonical
UndeclaredForeignKeyTarget
MissingUniqueParentKey
Trait Implementations§
Source§impl Debug for SyncRoutingContractError
impl Debug for SyncRoutingContractError
Source§impl Display for SyncRoutingContractError
impl Display for SyncRoutingContractError
Source§impl Error for SyncRoutingContractError
impl Error for SyncRoutingContractError
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<Error> for SyncRoutingContractError
impl From<Error> for SyncRoutingContractError
Source§impl From<Error> for SyncRoutingContractError
impl From<Error> for SyncRoutingContractError
Source§impl From<ForeignKeySchemaError> for SyncRoutingContractError
impl From<ForeignKeySchemaError> for SyncRoutingContractError
Source§fn from(source: ForeignKeySchemaError) -> Self
fn from(source: ForeignKeySchemaError) -> Self
Converts to this type from the input type.
Source§impl From<SyncRoutingContractError> for DbError
impl From<SyncRoutingContractError> for DbError
Source§fn from(source: SyncRoutingContractError) -> Self
fn from(source: SyncRoutingContractError) -> Self
Converts to this type from the input type.
Source§impl From<SyncRoutingContractError> for SnapshotImageError
impl From<SyncRoutingContractError> for SnapshotImageError
Source§fn from(source: SyncRoutingContractError) -> Self
fn from(source: SyncRoutingContractError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SyncRoutingContractError
impl !RefUnwindSafe for SyncRoutingContractError
impl Send for SyncRoutingContractError
impl Sync for SyncRoutingContractError
impl Unpin for SyncRoutingContractError
impl UnsafeUnpin for SyncRoutingContractError
impl !UnwindSafe for SyncRoutingContractError
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