Enum orca::net::auth::InstalledAppError
source · pub enum InstalledAppError {
Error {
msg: String,
},
MismatchedState,
AlreadyRecieved,
NeverRecieved,
}
Expand description
Enum that contains possible errors from a request for the OAuth Installed App type.
Variants§
Error
Got a generic error in the request
MismatchedState
The state string wasn’t present or did not match
AlreadyRecieved
The code has already been recieved
NeverRecieved
No message was ever recieved
Trait Implementations§
source§impl Clone for InstalledAppError
impl Clone for InstalledAppError
source§fn clone(&self) -> InstalledAppError
fn clone(&self) -> InstalledAppError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for InstalledAppError
impl Debug for InstalledAppError
source§impl Display for InstalledAppError
impl Display for InstalledAppError
source§impl Fail for InstalledAppError
impl Fail for InstalledAppError
source§fn cause(&self) -> Option<&dyn Fail>
fn cause(&self) -> Option<&dyn Fail>
Returns a reference to the underlying cause of this failure, if it
is an error that wraps other errors. Read more
source§fn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the
Backtrace
carried by this failure, if it
carries one. Read more