pub enum WordstatError {
Show 15 variants
BadResponse {
reason: &'static str,
},
BadKeyphrase {
reason: &'static str,
},
TooManyKeyphrases,
UnknownResponseCode {
code: i64,
},
UnknownError,
ReportDoesNotExist,
InvalidReportId,
ReportQueueFull,
QuotaExhausted,
AuthorizationError,
AccessDenied,
InternalServerError,
InvalidRequest,
ReportNotReady,
InvalidRequestParameters,
}
Variants§
BadResponse
BadKeyphrase
TooManyKeyphrases
UnknownResponseCode
UnknownError
ReportDoesNotExist
InvalidReportId
ReportQueueFull
QuotaExhausted
AuthorizationError
AccessDenied
InternalServerError
InvalidRequest
ReportNotReady
InvalidRequestParameters
Trait Implementations§
Source§impl Debug for WordstatError
impl Debug for WordstatError
Source§impl Display for WordstatError
impl Display for WordstatError
Source§impl Error for WordstatError
impl Error for WordstatError
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()
Auto Trait Implementations§
impl Freeze for WordstatError
impl RefUnwindSafe for WordstatError
impl Send for WordstatError
impl Sync for WordstatError
impl Unpin for WordstatError
impl UnwindSafe for WordstatError
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