Enum garage_api::signature::error::Error
source · pub enum Error {
Common(CommonError),
AuthorizationHeaderMalformed(String),
InvalidUtf8Str(Utf8Error),
}
Expand description
Errors of this crate
Variants§
Common(CommonError)
Error from common error
AuthorizationHeaderMalformed(String)
Authorization Header Malformed
InvalidUtf8Str(Utf8Error)
The request contained an invalid UTF-8 sequence in its path or in other parameters
Trait Implementations§
source§impl CommonErrorDerivative for Error
impl CommonErrorDerivative for Error
source§impl Error for Error
impl Error for Error
source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§fn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§impl From<Error> for Error
impl From<Error> for Error
source§fn from(err: SignatureError) -> Self
fn from(err: SignatureError) -> Self
Converts to this type from the input type.
source§impl From<SignedPayloadStreamError> for Error
impl From<SignedPayloadStreamError> for Error
source§fn from(err: SignedPayloadStreamError) -> Self
fn from(err: SignedPayloadStreamError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Error
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
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