[−][src]Enum goose::GooseError
Definition of all errors a GooseAttack can return.
Variants
Io(Error)
Contains an io::Error.
Reqwest(Error)
Contains a reqwest::Error.
Failed attempt to use code that requires a compile-time feature be enabled. The missing
feature is named in .feature
. An optional explanation may be found in .detail
.
Failed to parse hostname. The invalid hostname that caused this error is found in
.host
. An optional explanation may be found in .detail
. The lower level
url::ParseError
is contained in .parse_error
.
Fields of InvalidHost
Invalid option or value specified, may only be invalid in context. The invalid option
is found in .option
, while the invalid value is found in .value
. An optional
explanation providing context may be found in .detail
.
Invalid wait time specified. The minimum wait time and maximum wait time are found in
.min_wait
and .max_wait
respectively. An optional explanation providing context may
be found in .detail
.
Invalid weight specified. The invalid weight value is found in .weight
. An optional
GooseAttack
has no GooseTaskSet
defined. An optional explanation may be found in
.detail
.
Fields of NoTaskSets
detail: String
Trait Implementations
impl Debug for GooseError
[src]
impl Display for GooseError
[src]
impl Error for GooseError
[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn description(&self) -> &str
1.0.0[src]
fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl From<Error> for GooseError
[src]
Auto-convert Reqwest errors.
fn from(err: Error) -> GooseError
[src]
impl From<Error> for GooseError
[src]
Auto-convert IO errors.
fn from(err: Error) -> GooseError
[src]
Auto Trait Implementations
impl !RefUnwindSafe for GooseError
impl Send for GooseError
impl Sync for GooseError
impl Unpin for GooseError
impl !UnwindSafe for GooseError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,