pub enum ToSimpleError<C: CustomTypes<S>, S: System<C>> {
Cyclic,
ComplexType(Type<C, S>),
}
Expand description
An error produced by Value::to_simple
Variants§
Trait Implementations§
Source§impl<C: CustomTypes<S>, S: System<C>> Debug for ToSimpleError<C, S>
impl<C: CustomTypes<S>, S: System<C>> Debug for ToSimpleError<C, S>
Source§impl<C: CustomTypes<S>, S: System<C>> From<ToSimpleError<C, S>> for ErrorCause<C, S>
impl<C: CustomTypes<S>, S: System<C>> From<ToSimpleError<C, S>> for ErrorCause<C, S>
Source§fn from(error: ToSimpleError<C, S>) -> Self
fn from(error: ToSimpleError<C, S>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<C, S> Freeze for ToSimpleError<C, S>
impl<C, S> RefUnwindSafe for ToSimpleError<C, S>
impl<C, S> Send for ToSimpleError<C, S>
impl<C, S> Sync for ToSimpleError<C, S>
impl<C, S> Unpin for ToSimpleError<C, S>
impl<C, S> UnwindSafe for ToSimpleError<C, S>
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