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§
source§impl Clone for SignerError
impl Clone for SignerError
source§fn clone(&self) -> SignerError
fn clone(&self) -> SignerError
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 SignerError
impl Debug for SignerError
source§impl Display for SignerError
impl Display for SignerError
source§impl Error for SignerError
impl Error for SignerError
1.30.0 · source§fn 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 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<SignerError> for Error
impl From<SignerError> for Error
source§fn 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§
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