pub enum BrowserRunnerError {
InvalidSpec(Error),
Benchmark(BenchError),
SerializeReport(Error),
}Available on crate feature
registry only.Expand description
Errors produced by the browser JSON bridge.
Variants§
InvalidSpec(Error)
The input was not a valid serialized BenchSpec.
Benchmark(BenchError)
Benchmark lookup or execution failed.
SerializeReport(Error)
The resulting crate::RunnerReport could not be serialized.
Trait Implementations§
Source§impl Debug for BrowserRunnerError
impl Debug for BrowserRunnerError
Source§impl Display for BrowserRunnerError
impl Display for BrowserRunnerError
Source§impl Error for BrowserRunnerError
impl Error for BrowserRunnerError
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 From<BenchError> for BrowserRunnerError
impl From<BenchError> for BrowserRunnerError
Source§fn from(source: BenchError) -> Self
fn from(source: BenchError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for BrowserRunnerError
impl !UnwindSafe for BrowserRunnerError
impl Freeze for BrowserRunnerError
impl Send for BrowserRunnerError
impl Sync for BrowserRunnerError
impl Unpin for BrowserRunnerError
impl UnsafeUnpin for BrowserRunnerError
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