pub struct DisplayWithSources<E, I> {
pub error: E,
pub infix: I,
}
Fields§
§error: E
The error (and its sources) to write.
infix: I
Separator to write between the error and each subsequent source.
Trait Implementations§
Auto Trait Implementations§
impl<E, I> Freeze for DisplayWithSources<E, I>
impl<E, I> RefUnwindSafe for DisplayWithSources<E, I>where
E: RefUnwindSafe,
I: RefUnwindSafe,
impl<E, I> Send for DisplayWithSources<E, I>
impl<E, I> Sync for DisplayWithSources<E, I>
impl<E, I> Unpin for DisplayWithSources<E, I>
impl<E, I> UnwindSafe for DisplayWithSources<E, I>where
E: UnwindSafe,
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