pub struct ErrorSnapshot {
pub message: String,
pub location: Location,
}Fields§
§message: String§location: LocationTrait Implementations§
Source§impl Clone for ErrorSnapshot
impl Clone for ErrorSnapshot
Source§fn clone(&self) -> ErrorSnapshot
fn clone(&self) -> ErrorSnapshot
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 Debug for ErrorSnapshot
impl Debug for ErrorSnapshot
impl Eq for ErrorSnapshot
Source§impl Hash for ErrorSnapshot
impl Hash for ErrorSnapshot
Source§impl PartialEq for ErrorSnapshot
impl PartialEq for ErrorSnapshot
Source§fn eq(&self, other: &ErrorSnapshot) -> bool
fn eq(&self, other: &ErrorSnapshot) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ErrorSnapshot
Source§impl WriteJson for ErrorSnapshot
impl WriteJson for ErrorSnapshot
fn write_json(&self, emitter: &mut JsonEmitter)
Auto Trait Implementations§
impl Freeze for ErrorSnapshot
impl RefUnwindSafe for ErrorSnapshot
impl Send for ErrorSnapshot
impl Sync for ErrorSnapshot
impl Unpin for ErrorSnapshot
impl UnsafeUnpin for ErrorSnapshot
impl UnwindSafe for ErrorSnapshot
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