pub struct RegistryInvalidTypeError {
pub expected: Cow<'static, str>,
pub found: Cow<'static, str>,
pub value_name: Option<Cow<'static, str>>,
}Expand description
Invalid registry value type.
Fields§
§expected: Cow<'static, str>The expected type.
found: Cow<'static, str>The actual type found.
value_name: Option<Cow<'static, str>>The value name.
Implementations§
Trait Implementations§
Source§impl Debug for RegistryInvalidTypeError
impl Debug for RegistryInvalidTypeError
Source§impl Display for RegistryInvalidTypeError
impl Display for RegistryInvalidTypeError
Source§impl Error for RegistryInvalidTypeError
impl Error for RegistryInvalidTypeError
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 RegistryInvalidTypeError
impl RefUnwindSafe for RegistryInvalidTypeError
impl Send for RegistryInvalidTypeError
impl Sync for RegistryInvalidTypeError
impl Unpin for RegistryInvalidTypeError
impl UnsafeUnpin for RegistryInvalidTypeError
impl UnwindSafe for RegistryInvalidTypeError
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