#[non_exhaustive]pub enum DistributedCheckError {
Fetch {
what: &'static str,
url: String,
reason: String,
},
Mismatch(String),
}Expand description
Startup DDL-parity guard failed. Fatal: fix the config or the DDL.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Fetch
A system-table query failed. The user opted into fail-fast verification, so connectivity problems fail startup too — distinguishably from mismatches.
Fields
Mismatch(String)
Config and cluster/DDL disagree (pre-formatted diff).
Trait Implementations§
Source§impl Debug for DistributedCheckError
impl Debug for DistributedCheckError
Source§impl Display for DistributedCheckError
impl Display for DistributedCheckError
Source§impl Error for DistributedCheckError
impl Error for DistributedCheckError
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()
Auto Trait Implementations§
impl Freeze for DistributedCheckError
impl RefUnwindSafe for DistributedCheckError
impl Send for DistributedCheckError
impl Sync for DistributedCheckError
impl Unpin for DistributedCheckError
impl UnsafeUnpin for DistributedCheckError
impl UnwindSafe for DistributedCheckError
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