pub struct UnknownComponent {
pub name: String,
pub available: Vec<String>,
}Expand description
No component is registered under a name, or its factory failed.
Fields§
§name: StringThe name asked for.
available: Vec<String>Every name that is registered, sorted.
Trait Implementations§
Source§impl Clone for UnknownComponent
impl Clone for UnknownComponent
Source§impl Debug for UnknownComponent
impl Debug for UnknownComponent
Source§impl Display for UnknownComponent
impl Display for UnknownComponent
impl Eq for UnknownComponent
Source§impl Error for UnknownComponent
impl Error for UnknownComponent
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 UnknownComponent
impl PartialEq for UnknownComponent
impl StructuralPartialEq for UnknownComponent
Auto Trait Implementations§
impl Freeze for UnknownComponent
impl RefUnwindSafe for UnknownComponent
impl Send for UnknownComponent
impl Sync for UnknownComponent
impl Unpin for UnknownComponent
impl UnsafeUnpin for UnknownComponent
impl UnwindSafe for UnknownComponent
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.Source§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
Source§fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
Fallible version of
ToCompactString::to_compact_string() Read moreSource§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a
CompactString. Read more