pub struct Error<'s> {
pub source: Source<'s>,
pub labels: Vec<Label>,
pub notes: Vec<Note>,
pub message: String,
}Expand description
The error builder that this crate is all about
Fields§
§source: Source<'s>Source text
labels: Vec<Label>Labels we hold
notes: Vec<Note>Notes
message: StringThe message
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'s> RefUnwindSafe for Error<'s>
impl<'s> Send for Error<'s>
impl<'s> Sync for Error<'s>
impl<'s> Unpin for Error<'s>
impl<'s> UnwindSafe for Error<'s>
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