pub struct TryFromStringKeyError;
Expand description
Error that may occur when converting a StringKey to some other Rust value, such as an integer or a string.
When converting to an integer, this means that the StringKey is a named key, or it has a numeric value that is out of range for the target type.
When converting to a string, this does not happen, as numeric keys will be converted to strings.
Trait Implementations§
Source§impl Clone for TryFromStringKeyError
impl Clone for TryFromStringKeyError
Source§fn clone(&self) -> TryFromStringKeyError
fn clone(&self) -> TryFromStringKeyError
Returns a copy 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 TryFromStringKeyError
impl Debug for TryFromStringKeyError
Source§impl Display for TryFromStringKeyError
impl Display for TryFromStringKeyError
Source§impl Error for TryFromStringKeyError
impl Error for TryFromStringKeyError
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 TryFromStringKeyError
impl RefUnwindSafe for TryFromStringKeyError
impl Send for TryFromStringKeyError
impl Sync for TryFromStringKeyError
impl Unpin for TryFromStringKeyError
impl UnwindSafe for TryFromStringKeyError
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