pub struct Chain<'a>(pub &'a dyn Error);Expand description
Formats an error and its sources as error: source: source.
Tuple Fields§
§0: &'a dyn ErrorTrait Implementations§
impl<'a> Copy for Chain<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for Chain<'a>
impl<'a> !Send for Chain<'a>
impl<'a> !Sync for Chain<'a>
impl<'a> !UnwindSafe for Chain<'a>
impl<'a> Freeze for Chain<'a>
impl<'a> Unpin for Chain<'a>
impl<'a> UnsafeUnpin for Chain<'a>
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