pub enum NonceError {
Expired,
Request,
Response(ResponseError),
NoNonceHeader,
MalformedNonce,
}
Variants§
Expired
Sending the request to fetch a nonce failed, as the file has expired or did never exist.
Request
Sending the request to fetch a nonce failed.
Response(ResponseError)
The server responded with an error while requesting the encryption nonce, required for some operations.
NoNonceHeader
The nonce header was missing from the request.
MalformedNonce
The received nonce could not be parsed, because it was malformed. Maybe the server responded with a new format that isn’t supported yet by this client.
Trait Implementations§
Source§impl Debug for NonceError
impl Debug for NonceError
Source§impl Display for NonceError
impl Display for NonceError
Source§impl Error for NonceError
impl Error for NonceError
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<NonceError> for Error
impl From<NonceError> for Error
Source§fn from(err: NonceError) -> Error
fn from(err: NonceError) -> Error
Converts to this type from the input type.
Source§impl From<NonceError> for Error
impl From<NonceError> for Error
Source§fn from(err: NonceError) -> Error
fn from(err: NonceError) -> Error
Converts to this type from the input type.
Source§impl From<NonceError> for Error
impl From<NonceError> for Error
Source§fn from(err: NonceError) -> Error
fn from(err: NonceError) -> Error
Converts to this type from the input type.
Source§impl From<NonceError> for Error
impl From<NonceError> for Error
Source§fn from(err: NonceError) -> Error
fn from(err: NonceError) -> Error
Converts to this type from the input type.
Source§impl From<NonceError> for Error
impl From<NonceError> for Error
Source§fn from(err: NonceError) -> Error
fn from(err: NonceError) -> Error
Converts to this type from the input type.
Source§impl From<NonceError> for MetaError
impl From<NonceError> for MetaError
Source§fn from(source: NonceError) -> Self
fn from(source: NonceError) -> Self
Converts to this type from the input type.
Source§impl From<NonceError> for PrepareError
impl From<NonceError> for PrepareError
Source§fn from(source: NonceError) -> Self
fn from(source: NonceError) -> Self
Converts to this type from the input type.
Source§impl From<NonceError> for PrepareError
impl From<NonceError> for PrepareError
Source§fn from(source: NonceError) -> Self
fn from(source: NonceError) -> Self
Converts to this type from the input type.
Source§impl From<NonceError> for PrepareError
impl From<NonceError> for PrepareError
Source§fn from(source: NonceError) -> Self
fn from(source: NonceError) -> Self
Converts to this type from the input type.
Source§impl From<NonceError> for PrepareError
impl From<NonceError> for PrepareError
Source§fn from(source: NonceError) -> Self
fn from(source: NonceError) -> Self
Converts to this type from the input type.
Source§impl From<NonceError> for RequestError
impl From<NonceError> for RequestError
Source§fn from(source: NonceError) -> Self
fn from(source: NonceError) -> Self
Converts to this type from the input type.
Source§impl From<ResponseError> for NonceError
impl From<ResponseError> for NonceError
Source§fn from(source: ResponseError) -> Self
fn from(source: ResponseError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for NonceError
impl RefUnwindSafe for NonceError
impl Send for NonceError
impl Sync for NonceError
impl Unpin for NonceError
impl UnwindSafe for NonceError
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