Enum akd::proto::ConversionError
source · pub enum ConversionError {
Deserialization(String),
Protobuf(String),
}
Expand description
An error converting a protobuf proof
Variants§
Deserialization(String)
Error deserializing from a protobuf structure/proof
Protobuf(String)
A core protobuf error occurred
Trait Implementations§
source§impl Debug for ConversionError
impl Debug for ConversionError
source§impl Display for ConversionError
impl Display for ConversionError
source§impl From<ConversionError> for LocalAuditorError
impl From<ConversionError> for LocalAuditorError
source§fn from(err: ConversionError) -> Self
fn from(err: ConversionError) -> Self
Converts to this type from the input type.
source§impl From<ConversionError> for VerificationError
impl From<ConversionError> for VerificationError
source§fn from(input: ConversionError) -> VerificationError
fn from(input: ConversionError) -> VerificationError
Converts to this type from the input type.
source§impl From<Error> for ConversionError
impl From<Error> for ConversionError
source§fn from(err: Error) -> ConversionError
fn from(err: Error) -> ConversionError
Converts to this type from the input type.
source§impl PartialEq for ConversionError
impl PartialEq for ConversionError
source§fn eq(&self, other: &ConversionError) -> bool
fn eq(&self, other: &ConversionError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ConversionError
impl StructuralEq for ConversionError
impl StructuralPartialEq for ConversionError
Auto Trait Implementations§
impl RefUnwindSafe for ConversionError
impl Send for ConversionError
impl Sync for ConversionError
impl Unpin for ConversionError
impl UnwindSafe for ConversionError
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more