pub struct ErrorInput<I> {
pub input: I,
pub kind: ErrorKind,
}Expand description
Input with an error.
Fields§
§input: I§kind: ErrorKindTrait Implementations§
Source§impl<I: Clone> Clone for ErrorInput<I>
impl<I: Clone> Clone for ErrorInput<I>
Source§fn clone(&self) -> ErrorInput<I>
fn clone(&self) -> ErrorInput<I>
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<I: Debug> Debug for ErrorInput<I>
impl<I: Debug> Debug for ErrorInput<I>
Source§impl Display for ErrorInput<&str>
impl Display for ErrorInput<&str>
Source§impl Display for ErrorInput<Span<'_>>
impl Display for ErrorInput<Span<'_>>
Source§impl Display for ErrorInput<FileSpan<'_, '_>>
impl Display for ErrorInput<FileSpan<'_, '_>>
Source§impl<I> From<(I, ErrorKind)> for ErrorInput<I>
impl<I> From<(I, ErrorKind)> for ErrorInput<I>
Source§impl<I: PartialEq> PartialEq for ErrorInput<I>
impl<I: PartialEq> PartialEq for ErrorInput<I>
impl<I: Eq> Eq for ErrorInput<I>
impl<I> StructuralPartialEq for ErrorInput<I>
Auto Trait Implementations§
impl<I> Freeze for ErrorInput<I>where
I: Freeze,
impl<I> RefUnwindSafe for ErrorInput<I>where
I: RefUnwindSafe,
impl<I> Send for ErrorInput<I>where
I: Send,
impl<I> Sync for ErrorInput<I>where
I: Sync,
impl<I> Unpin for ErrorInput<I>where
I: Unpin,
impl<I> UnwindSafe for ErrorInput<I>where
I: UnwindSafe,
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)