pub struct ResharpError {
pub kind: ErrorKind,
pub span: Span,
/* private fields */
}Fields§
§kind: ErrorKindThe kind of error.
span: SpanThe span of this error.
Trait Implementations§
Source§impl Clone for ResharpError
impl Clone for ResharpError
Source§fn clone(&self) -> ResharpError
fn clone(&self) -> ResharpError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ResharpError
impl Debug for ResharpError
Source§impl Display for ResharpError
impl Display for ResharpError
Source§impl Error for ResharpError
impl Error for ResharpError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for ResharpError
impl PartialEq for ResharpError
impl Eq for ResharpError
impl StructuralPartialEq for ResharpError
Auto Trait Implementations§
impl Freeze for ResharpError
impl RefUnwindSafe for ResharpError
impl Send for ResharpError
impl Sync for ResharpError
impl Unpin for ResharpError
impl UnsafeUnpin for ResharpError
impl UnwindSafe for ResharpError
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