pub enum SignatureGenerationError {
Serialization(Error),
Signing(SigningError),
}Expand description
Errors from the authorization signature generation process. This can very rarely occur from serialization (either the request could not be serialized or the serialized data can not be converted to base64), or (more likely) there was an error when undergoing the signing process.
Variants§
Serialization(Error)
Signing(SigningError)
Trait Implementations§
Source§impl Debug for SignatureGenerationError
impl Debug for SignatureGenerationError
Source§impl Display for SignatureGenerationError
impl Display for SignatureGenerationError
Source§impl Error for SignatureGenerationError
impl Error for SignatureGenerationError
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<Error> for SignatureGenerationError
impl From<Error> for SignatureGenerationError
Source§impl From<SignatureGenerationError> for PrivySignedApiError
impl From<SignatureGenerationError> for PrivySignedApiError
Source§fn from(source: SignatureGenerationError) -> Self
fn from(source: SignatureGenerationError) -> Self
Converts to this type from the input type.
Source§impl From<SignatureGenerationError> for PrivyExportError
impl From<SignatureGenerationError> for PrivyExportError
Source§fn from(source: SignatureGenerationError) -> Self
fn from(source: SignatureGenerationError) -> Self
Converts to this type from the input type.
Source§impl From<SigningError> for SignatureGenerationError
impl From<SigningError> for SignatureGenerationError
Source§fn from(source: SigningError) -> Self
fn from(source: SigningError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for SignatureGenerationError
impl !UnwindSafe for SignatureGenerationError
impl Freeze for SignatureGenerationError
impl Send for SignatureGenerationError
impl Sync for SignatureGenerationError
impl Unpin for SignatureGenerationError
impl UnsafeUnpin for SignatureGenerationError
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