enum CoerceErrorKind {
Overflow,
PrecisionLoss,
NaN,
Infallible,
}Expand description
Internal enum to unify different coerce error types.
Variants§
Trait Implementations§
Source§impl Debug for CoerceErrorKind
impl Debug for CoerceErrorKind
Source§impl From<CoerceError> for CoerceErrorKind
impl From<CoerceError> for CoerceErrorKind
Source§fn from(e: CoerceError) -> Self
fn from(e: CoerceError) -> Self
Converts to this type from the input type.
Source§impl From<Infallible> for CoerceErrorKind
impl From<Infallible> for CoerceErrorKind
Source§fn from(_: Infallible) -> Self
fn from(_: Infallible) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CoerceErrorKind
impl RefUnwindSafe for CoerceErrorKind
impl Send for CoerceErrorKind
impl Sync for CoerceErrorKind
impl Unpin for CoerceErrorKind
impl UnsafeUnpin for CoerceErrorKind
impl UnwindSafe for CoerceErrorKind
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