pub struct SignerError { /* private fields */ }Expand description
An error that occurred while signing a URL.
Implementations§
Source§impl SignerError
impl SignerError
Sourcepub fn kind(&self) -> SignerErrorKind
pub fn kind(&self) -> SignerErrorKind
Return the kind of error.
Sourcepub fn uri_parse_error(message: impl Into<String>) -> Self
pub fn uri_parse_error(message: impl Into<String>) -> Self
Create a new CloudUriParseError.
Sourcepub fn permission_not_supported(message: impl Into<String>) -> Self
pub fn permission_not_supported(message: impl Into<String>) -> Self
Create a new PermissionNotSupported error.
Sourcepub fn other_error(message: impl Into<String>) -> Self
pub fn other_error(message: impl Into<String>) -> Self
Create a new Other error.
Trait Implementations§
Source§impl Clone for SignerError
impl Clone for SignerError
Source§fn clone(&self) -> SignerError
fn clone(&self) -> SignerError
Returns a duplicate 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)>
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<GetObjectError> for SignerError
impl From<GetObjectError> for SignerError
Source§fn from(e: GetObjectError) -> Self
fn from(e: GetObjectError) -> Self
Converts to this type from the input type.
Source§impl From<PresigningConfigError> for SignerError
impl From<PresigningConfigError> for SignerError
Source§fn from(e: PresigningConfigError) -> Self
fn from(e: PresigningConfigError) -> Self
Converts to this type from the input type.
Source§impl<E, R> From<SdkError<E, R>> for SignerError
impl<E, R> From<SdkError<E, R>> for SignerError
Source§impl Hash for SignerError
impl Hash for SignerError
Source§impl PartialEq for SignerError
impl PartialEq for SignerError
impl Eq for SignerError
impl StructuralPartialEq for SignerError
Auto Trait Implementations§
impl Freeze for SignerError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.