pub enum BenchmarkMarkerError {
InvalidPrefix,
InvalidLabel,
}Expand description
A marker field cannot be represented in the line-oriented marker grammar.
Variants§
InvalidPrefix
Prefix is empty or contains a pipe, CR or LF.
InvalidLabel
Label contains a pipe/line break or lacks a nonempty span and start/end suffix.
Trait Implementations§
Source§impl Clone for BenchmarkMarkerError
impl Clone for BenchmarkMarkerError
impl Copy for BenchmarkMarkerError
Source§impl Debug for BenchmarkMarkerError
impl Debug for BenchmarkMarkerError
Source§impl Display for BenchmarkMarkerError
impl Display for BenchmarkMarkerError
impl Eq for BenchmarkMarkerError
Source§impl Error for BenchmarkMarkerError
impl Error for BenchmarkMarkerError
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 BenchmarkMarkerError
impl PartialEq for BenchmarkMarkerError
impl StructuralPartialEq for BenchmarkMarkerError
Auto Trait Implementations§
impl Freeze for BenchmarkMarkerError
impl RefUnwindSafe for BenchmarkMarkerError
impl Send for BenchmarkMarkerError
impl Sync for BenchmarkMarkerError
impl Unpin for BenchmarkMarkerError
impl UnsafeUnpin for BenchmarkMarkerError
impl UnwindSafe for BenchmarkMarkerError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> CustomError for T
impl<T> CustomError for T
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.