pub struct RegistryConversionError {
pub conversion: Cow<'static, str>,
pub reason: Cow<'static, str>,
}Expand description
Registry value conversion error.
Fields§
§conversion: Cow<'static, str>What conversion was being attempted.
reason: Cow<'static, str>Why it failed.
Implementations§
Trait Implementations§
Source§impl Debug for RegistryConversionError
impl Debug for RegistryConversionError
Source§impl Display for RegistryConversionError
impl Display for RegistryConversionError
Source§impl Error for RegistryConversionError
impl Error for RegistryConversionError
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 RegistryConversionError
impl RefUnwindSafe for RegistryConversionError
impl Send for RegistryConversionError
impl Sync for RegistryConversionError
impl Unpin for RegistryConversionError
impl UnsafeUnpin for RegistryConversionError
impl UnwindSafe for RegistryConversionError
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