pub enum KeyError {
KeyNotFound(String),
CannotKeyType(RantValueType),
}
Expand description
Error produced by keying a RantValue.
Variants
KeyNotFound(String)
The specified key could not be found.
CannotKeyType(RantValueType)
Values of this type cannot be keyed.
Trait Implementations
The lower-level source of this error, if any. Read more
👎 Deprecated since 1.33.0:
replaced by Error::source, which can support downcasting
🔬 This is a nightly-only experimental API. (
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
👎 Deprecated since 1.42.0:
use the Display impl or to_string()