Enum reqwest_oauth1::SignerError
source · [−]pub enum SignerError {
UnknownParameter(String),
UnconfigurableParameter(String),
InvalidTimestamp(String),
InvalidVersion(String),
}
Expand description
Errors about the signing with OAuth1 protocol.
Variants
UnknownParameter(String)
Specified oauth_* parameter is not existed in the protocol specification.
UnconfigurableParameter(String)
Specified oauth_* parameter is not configured via the reqwest::RequestBuilder::(query/form).
InvalidTimestamp(String)
An invalid value is specified as the oauth_timestamp parameter.
InvalidVersion(String)
An invalid value is specified as the oauth_version parameter.
Trait Implementations
sourceimpl Clone for SignerError
impl Clone for SignerError
sourcefn clone(&self) -> SignerError
fn clone(&self) -> SignerError
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for SignerError
impl Debug for SignerError
sourceimpl Display for SignerError
impl Display for SignerError
sourceimpl Error for SignerError
impl Error for SignerError
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourceimpl From<SignerError> for Error
impl From<SignerError> for Error
sourcefn from(source: SignerError) -> Self
fn from(source: SignerError) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for SignerError
impl Send for SignerError
impl Sync for SignerError
impl Unpin for SignerError
impl UnwindSafe for SignerError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more