pub struct MeasSyntaxError {
pub message: String,
pub start: usize,
pub end: usize,
}Expand description
A malformed measurement: the message and the byte range of the offending word in the text that was parsed.
Fields§
§message: String§start: usize§end: usizeTrait Implementations§
Source§impl Clone for MeasSyntaxError
impl Clone for MeasSyntaxError
Source§impl Debug for MeasSyntaxError
impl Debug for MeasSyntaxError
Source§impl Display for MeasSyntaxError
impl Display for MeasSyntaxError
impl Eq for MeasSyntaxError
Source§impl Error for MeasSyntaxError
impl Error for MeasSyntaxError
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 MeasSyntaxError
impl PartialEq for MeasSyntaxError
impl StructuralPartialEq for MeasSyntaxError
Auto Trait Implementations§
impl Forget for MeasSyntaxError
impl Freeze for MeasSyntaxError
impl Move for MeasSyntaxError
impl RefUnwindSafe for MeasSyntaxError
impl Send for MeasSyntaxError
impl Sync for MeasSyntaxError
impl Unpin for MeasSyntaxError
impl UnsafeUnpin for MeasSyntaxError
impl UnwindSafe for MeasSyntaxError
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