pub enum CoreError {
Show 22 variants
Type(TypeError),
IndexVariableLengthNotSupported,
IndexTypesDirectionsMismatch {
types_len: usize,
directions_len: usize,
},
FrameError {
message: String,
},
FlowError {
message: String,
},
FlowTransactionKeyspaceOverlap {
key: String,
},
FlowAlreadyRegistered {
flow_id: u64,
},
FlowVersionCorrupted {
flow_id: u64,
byte_count: usize,
},
FlowBackfillTimeout {
flow_id: u64,
timeout_secs: u64,
},
FlowDispatcherUnavailable,
PrimaryKeyViolation {
fragment: Fragment,
table_name: String,
key_columns: Vec<String>,
},
UniqueIndexViolation {
fragment: Fragment,
table_name: String,
index_name: String,
key_columns: Vec<String>,
},
Internal {
message: String,
file: String,
line: u32,
column: u32,
function: String,
module_path: String,
},
Shutdown {
component: String,
},
SequenceExhausted {
value_type: Type,
},
CanNotAlterNotAutoIncrement {
fragment: Fragment,
},
SubsystemInitFailed {
subsystem: String,
reason: String,
},
SubsystemFeatureDisabled {
feature: String,
},
SubsystemBindFailed {
addr: String,
reason: String,
},
SubsystemShutdownFailed {
subsystem: String,
reason: String,
},
SubsystemAddressUnavailable {
reason: String,
},
SubsystemSocketConfigFailed {
reason: String,
},
}Variants§
Type(TypeError)
IndexVariableLengthNotSupported
IndexTypesDirectionsMismatch
FrameError
FlowError
FlowTransactionKeyspaceOverlap
FlowAlreadyRegistered
FlowVersionCorrupted
FlowBackfillTimeout
PrimaryKeyViolation
UniqueIndexViolation
Internal
Shutdown
SequenceExhausted
CanNotAlterNotAutoIncrement
SubsystemInitFailed
SubsystemFeatureDisabled
SubsystemBindFailed
SubsystemShutdownFailed
SubsystemSocketConfigFailed
Trait Implementations§
Source§impl Error for CoreError
impl Error for CoreError
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 IntoDiagnostic for CoreError
impl IntoDiagnostic for CoreError
Source§fn into_diagnostic(self) -> Diagnostic
fn into_diagnostic(self) -> Diagnostic
Convert self into a Diagnostic with error code, message, fragment, and other metadata.
Auto Trait Implementations§
impl Freeze for CoreError
impl RefUnwindSafe for CoreError
impl Send for CoreError
impl Sync for CoreError
impl Unpin for CoreError
impl UnsafeUnpin for CoreError
impl UnwindSafe for CoreError
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more