pub struct ConfigError {
pub record_key: String,
pub url: Option<String>,
pub message: String,
}Expand description
One configuration mistake found while configuring an AimDbBuilder.
Builder methods never panic on user mistakes; they record one of these and
build() reports all of them at once via
DbError::InvalidConfiguration.
Fields§
§record_key: StringKey of the record the mistake belongs to. Errors recorded before the
key is known (inside TypedRecord setters) carry an empty key that
build() fills in when draining.
url: Option<String>Connector URL, for link-related mistakes.
message: StringHuman-readable description of the mistake.
Implementations§
Trait Implementations§
Source§impl Clone for ConfigError
impl Clone for ConfigError
Source§fn clone(&self) -> ConfigError
fn clone(&self) -> ConfigError
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 moreSource§impl Debug for ConfigError
impl Debug for ConfigError
Source§impl Display for ConfigError
impl Display for ConfigError
impl Eq for ConfigError
Source§impl PartialEq for ConfigError
impl PartialEq for ConfigError
impl StructuralPartialEq for ConfigError
Auto Trait Implementations§
impl Freeze for ConfigError
impl RefUnwindSafe for ConfigError
impl Send for ConfigError
impl Sync for ConfigError
impl Unpin for ConfigError
impl UnsafeUnpin for ConfigError
impl UnwindSafe for ConfigError
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