#[non_exhaustive]pub enum VerificationErrorKind {
Configuration,
Transport,
Timeout,
InvalidResponse,
NotImplemented,
}Expand description
Broad category for failures that prevent a verification result.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Configuration
The adapter was configured incorrectly.
Transport
The provider could not be reached.
Timeout
The provider did not answer within the configured deadline.
InvalidResponse
The provider returned an unreadable or unsupported response.
NotImplemented
The provider adapter has not been implemented yet.
Trait Implementations§
Source§impl Clone for VerificationErrorKind
impl Clone for VerificationErrorKind
Source§fn clone(&self) -> VerificationErrorKind
fn clone(&self) -> VerificationErrorKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for VerificationErrorKind
Source§impl Debug for VerificationErrorKind
impl Debug for VerificationErrorKind
Source§impl<'de> Deserialize<'de> for VerificationErrorKind
impl<'de> Deserialize<'de> for VerificationErrorKind
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<VerificationErrorKind, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<VerificationErrorKind, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for VerificationErrorKind
impl Display for VerificationErrorKind
impl Eq for VerificationErrorKind
Source§impl PartialEq for VerificationErrorKind
impl PartialEq for VerificationErrorKind
Source§impl Serialize for VerificationErrorKind
impl Serialize for VerificationErrorKind
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for VerificationErrorKind
Auto Trait Implementations§
impl Freeze for VerificationErrorKind
impl RefUnwindSafe for VerificationErrorKind
impl Send for VerificationErrorKind
impl Sync for VerificationErrorKind
impl Unpin for VerificationErrorKind
impl UnsafeUnpin for VerificationErrorKind
impl UnwindSafe for VerificationErrorKind
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