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§
Source§impl Error for WrkError
impl Error for WrkError
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<BenchmarkBuilderError> for WrkError
impl From<BenchmarkBuilderError> for WrkError
Source§fn from(source: BenchmarkBuilderError) -> Self
fn from(source: BenchmarkBuilderError) -> Self
Converts to this type from the input type.
Source§impl From<ParseError> for WrkError
impl From<ParseError> for WrkError
Source§fn from(source: ParseError) -> Self
fn from(source: ParseError) -> Self
Converts to this type from the input type.
Source§impl From<ParseError> for WrkError
impl From<ParseError> for WrkError
Source§fn from(source: ParseError) -> Self
fn from(source: ParseError) -> Self
Converts to this type from the input type.
Source§impl From<PersistError> for WrkError
impl From<PersistError> for WrkError
Source§fn from(source: PersistError) -> Self
fn from(source: PersistError) -> Self
Converts to this type from the input type.
Source§impl From<WrkBuilderError> for WrkError
impl From<WrkBuilderError> for WrkError
Source§fn from(source: WrkBuilderError) -> Self
fn from(source: WrkBuilderError) -> Self
Converts to this type from the input type.
Source§impl From<WrkResultBuilderError> for WrkError
impl From<WrkResultBuilderError> for WrkError
Source§fn from(source: WrkResultBuilderError) -> Self
fn from(source: WrkResultBuilderError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for WrkError
impl !RefUnwindSafe for WrkError
impl Send for WrkError
impl Sync for WrkError
impl Unpin for WrkError
impl !UnwindSafe for WrkError
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