pub struct ParseError {
pub message: String,
pub labels: Vec<(Span, String)>,
pub help: Option<String>,
pub code: String,
}Fields§
§message: String§labels: Vec<(Span, String)>§help: Option<String>§code: StringTrait Implementations§
Source§impl Clone for ParseError
impl Clone for ParseError
Auto Trait Implementations§
impl Forget for ParseError
impl Freeze for ParseError
impl Move for ParseError
impl RefUnwindSafe for ParseError
impl Send for ParseErrorwhere
RawVecInner: Send,
impl Sync for ParseErrorwhere
RawVecInner: Sync,
impl Unpin for ParseError
impl UnsafeUnpin for ParseErrorwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<(Span, String)>: UnsafeUnpin,
impl UnwindSafe for ParseErrorwhere
RawVecInner: UnwindSafe,
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