pub struct InvalidComponentName(pub String);Expand description
The error returned when a component key is not a legal name.
Tuple Fields§
§0: StringTrait Implementations§
Source§impl Clone for InvalidComponentName
impl Clone for InvalidComponentName
Source§impl Debug for InvalidComponentName
impl Debug for InvalidComponentName
Source§impl Display for InvalidComponentName
impl Display for InvalidComponentName
impl Eq for InvalidComponentName
Source§impl Error for InvalidComponentName
impl Error for InvalidComponentName
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 InvalidComponentName
impl PartialEq for InvalidComponentName
impl StructuralPartialEq for InvalidComponentName
Auto Trait Implementations§
impl Freeze for InvalidComponentName
impl RefUnwindSafe for InvalidComponentName
impl Send for InvalidComponentName
impl Sync for InvalidComponentName
impl Unpin for InvalidComponentName
impl UnsafeUnpin for InvalidComponentName
impl UnwindSafe for InvalidComponentName
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.