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 (const: unstable) · Source§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<'_, '_>>
impl<I: Eq> Eq for ErrorInput<I>
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>
Source§fn eq(&self, other: &ErrorInput<I>) -> bool
fn eq(&self, other: &ErrorInput<I>) -> bool
Tests for
self and other values to be equal, and is used by ==.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> UnsafeUnpin for ErrorInput<I>where
I: UnsafeUnpin,
impl<I> UnwindSafe for ErrorInput<I>where
I: 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