pub struct Issue { /* private fields */ }Expand description
Implementations§
Source§impl Issue
impl Issue
Sourcepub fn from_error(err: &Error) -> Issue
pub fn from_error(err: &Error) -> Issue
Creates the issue of an error.
For errors that hold multiple errors (see Error::errors), this
is the issue of the first one, see Report::from_error for all of
them.
Trait Implementations§
impl StructuralPartialEq for Issue
Auto Trait Implementations§
impl Freeze for Issue
impl RefUnwindSafe for Issue
impl Send for Issue
impl Sync for Issue
impl Unpin for Issue
impl UnsafeUnpin for Issue
impl UnwindSafe for Issue
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