Enum wrk_api_bench::WrkError
source · [−]pub enum WrkError {
Show 14 variants
Exec(String),
History(String),
Bitmap(String),
Lua(String),
Plot(String),
Stats(String),
Io(Error),
Serde(Error),
Chrono(ParseError),
Url(ParseError),
Tempfile(PersistError),
WrkBuilder(WrkBuilderError),
WrkResultBuilder(WrkResultBuilderError),
BenchmarkBuilder(BenchmarkBuilderError),
}Variants
Exec(String)
History(String)
Bitmap(String)
Lua(String)
Plot(String)
Stats(String)
Io(Error)
Serde(Error)
Chrono(ParseError)
Url(ParseError)
Tempfile(PersistError)
WrkBuilder(WrkBuilderError)
WrkResultBuilder(WrkResultBuilderError)
BenchmarkBuilder(BenchmarkBuilderError)
Trait Implementations
sourceimpl Error for WrkError
impl Error for WrkError
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
🔬 This is a nightly-only experimental API. (
backtrace)Returns a stack backtrace, if available, of where this error occurred. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
sourceimpl From<BenchmarkBuilderError> for WrkError
impl From<BenchmarkBuilderError> for WrkError
sourcefn from(source: BenchmarkBuilderError) -> Self
fn from(source: BenchmarkBuilderError) -> Self
Performs the conversion.
sourceimpl From<ParseError> for WrkError
impl From<ParseError> for WrkError
sourcefn from(source: ParseError) -> Self
fn from(source: ParseError) -> Self
Performs the conversion.
sourceimpl From<ParseError> for WrkError
impl From<ParseError> for WrkError
sourcefn from(source: ParseError) -> Self
fn from(source: ParseError) -> Self
Performs the conversion.
sourceimpl From<PersistError> for WrkError
impl From<PersistError> for WrkError
sourcefn from(source: PersistError) -> Self
fn from(source: PersistError) -> Self
Performs the conversion.
sourceimpl From<WrkBuilderError> for WrkError
impl From<WrkBuilderError> for WrkError
sourcefn from(source: WrkBuilderError) -> Self
fn from(source: WrkBuilderError) -> Self
Performs the conversion.
sourceimpl From<WrkResultBuilderError> for WrkError
impl From<WrkResultBuilderError> for WrkError
sourcefn from(source: WrkResultBuilderError) -> Self
fn from(source: WrkResultBuilderError) -> Self
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for WrkError
impl Send for WrkError
impl Sync for WrkError
impl Unpin for WrkError
impl UnwindSafe for WrkError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more