pub enum ConfigMapError {
Schema(String),
Json(String),
UnmappedKey {
arch: String,
key: String,
},
Refused {
key: String,
value: String,
why: String,
},
MissingKey {
arch: String,
key: String,
},
}Expand description
2026-09-30: Why a config did not map.
Variants§
Schema(String)
2026-09-30: The mapping TOML is malformed.
Json(String)
2026-09-30: config.json is not a JSON object, or a nested value is the wrong type.
UnmappedKey
2026-09-30: A key no rule classifies.
Refused
2026-09-30: A value the circuit does not model.
Fields
MissingKey
2026-09-30: A required key is absent and its rule states no default.
Trait Implementations§
Source§impl Clone for ConfigMapError
impl Clone for ConfigMapError
Source§fn clone(&self) -> ConfigMapError
fn clone(&self) -> ConfigMapError
Returns a duplicate of the value. Read more
1.0.0 · 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 ConfigMapError
impl Debug for ConfigMapError
Source§impl Display for ConfigMapError
impl Display for ConfigMapError
Source§impl Error for ConfigMapError
impl Error for ConfigMapError
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<ConfigMapError> for CheckpointError
impl From<ConfigMapError> for CheckpointError
Source§fn from(source: ConfigMapError) -> Self
fn from(source: ConfigMapError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ConfigMapError
impl PartialEq for ConfigMapError
impl Eq for ConfigMapError
impl StructuralPartialEq for ConfigMapError
Auto Trait Implementations§
impl Freeze for ConfigMapError
impl RefUnwindSafe for ConfigMapError
impl Send for ConfigMapError
impl Sync for ConfigMapError
impl Unpin for ConfigMapError
impl UnwindSafe for ConfigMapError
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.