pub struct ParseError {
pub id: Option<String>,
pub code: &'static str,
pub message: String,
}Expand description
Error parsing a single segment document, mapped to an
UnprocessedTraceSegment entry by the handler.
Fields§
§id: Option<String>The segment id, when it could be read from the malformed document.
code: &'static str§message: StringTrait Implementations§
Auto Trait Implementations§
impl Freeze for ParseError
impl RefUnwindSafe for ParseError
impl Send for ParseError
impl Sync for ParseError
impl Unpin for ParseError
impl UnsafeUnpin for ParseError
impl UnwindSafe for ParseError
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