pub struct StableKeyError {
pub stable_key: String,
pub reason: &'static str,
}Expand description
StableKeyError
Stable-key grammar validation failure.
Fields§
§stable_key: StringRejected stable-key string.
reason: &'static strStable-key grammar failure.
Trait Implementations§
Source§impl Clone for StableKeyError
impl Clone for StableKeyError
Source§fn clone(&self) -> StableKeyError
fn clone(&self) -> StableKeyError
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 StableKeyError
impl Debug for StableKeyError
Source§impl Display for StableKeyError
impl Display for StableKeyError
Source§impl Error for StableKeyError
impl Error for StableKeyError
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 PartialEq for StableKeyError
impl PartialEq for StableKeyError
Source§fn eq(&self, other: &StableKeyError) -> bool
fn eq(&self, other: &StableKeyError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for StableKeyError
impl StructuralPartialEq for StableKeyError
Auto Trait Implementations§
impl Freeze for StableKeyError
impl RefUnwindSafe for StableKeyError
impl Send for StableKeyError
impl Sync for StableKeyError
impl Unpin for StableKeyError
impl UnsafeUnpin for StableKeyError
impl UnwindSafe for StableKeyError
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