pub enum GrabError {
NeedsRelogin(String),
Failed(String),
}Expand description
Why a Grab call failed.
Variants§
NeedsRelogin(String)
The session is dead (its SSO refused): the account logs in again.
Failed(String)
Anything else (Grab’s answer, the network, a bad argument).
Trait Implementations§
impl Eq for GrabError
Source§impl Error for GrabError
impl Error for GrabError
1.30.0 · 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()
impl StructuralPartialEq for GrabError
Auto Trait Implementations§
impl Forget for GrabError
impl Freeze for GrabError
impl RefUnwindSafe for GrabError
impl Send for GrabError
impl Sync for GrabError
impl Unpin for GrabError
impl UnsafeUnpin for GrabError
impl UnwindSafe for GrabError
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