pub enum EdidTypeConversionError<D: Display> {
Int(TryFromIntError),
Slice(TryFromSliceError),
Range(D, Option<D>, Option<D>),
Value(String),
}Variants§
Trait Implementations§
Source§impl<D: Display> Display for EdidTypeConversionError<D>
impl<D: Display> Display for EdidTypeConversionError<D>
Source§impl<D: Display + Debug> Error for EdidTypeConversionError<D>
impl<D: Display + Debug> Error for EdidTypeConversionError<D>
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<D: Display> From<TryFromIntError> for EdidTypeConversionError<D>
impl<D: Display> From<TryFromIntError> for EdidTypeConversionError<D>
Source§fn from(value: TryFromIntError) -> Self
fn from(value: TryFromIntError) -> Self
Converts to this type from the input type.
Source§impl<D: Display> From<TryFromSliceError> for EdidTypeConversionError<D>
impl<D: Display> From<TryFromSliceError> for EdidTypeConversionError<D>
Source§fn from(value: TryFromSliceError) -> Self
fn from(value: TryFromSliceError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<D> Freeze for EdidTypeConversionError<D>where
D: Freeze,
impl<D> RefUnwindSafe for EdidTypeConversionError<D>where
D: RefUnwindSafe,
impl<D> Send for EdidTypeConversionError<D>where
D: Send,
impl<D> Sync for EdidTypeConversionError<D>where
D: Sync,
impl<D> Unpin for EdidTypeConversionError<D>where
D: Unpin,
impl<D> UnwindSafe for EdidTypeConversionError<D>where
D: UnwindSafe,
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