pub enum BeginError {
Secrets(SecretError),
Resource(ResourceIndicatorError),
Endpoint {
endpoint: String,
source: ParseError,
},
}Expand description
Why an authorization request could not be started.
Variants§
Secrets(SecretError)
The secret source could not produce a state or a verifier.
Resource(ResourceIndicatorError)
The revision requires a resource indicator and none was named.
Endpoint
The authorization endpoint is not a URL this crate can append to.
Fields
§
source: ParseErrorWhy it was refused.
Trait Implementations§
Source§impl Debug for BeginError
impl Debug for BeginError
Source§impl Display for BeginError
impl Display for BeginError
Source§impl Error for BeginError
impl Error for BeginError
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<BeginError> for AuthorizeError
impl From<BeginError> for AuthorizeError
Source§fn from(source: BeginError) -> Self
fn from(source: BeginError) -> Self
Converts to this type from the input type.
Source§impl From<ResourceIndicatorError> for BeginError
impl From<ResourceIndicatorError> for BeginError
Source§fn from(source: ResourceIndicatorError) -> Self
fn from(source: ResourceIndicatorError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BeginError
impl RefUnwindSafe for BeginError
impl Send for BeginError
impl Sync for BeginError
impl Unpin for BeginError
impl UnsafeUnpin for BeginError
impl UnwindSafe for BeginError
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