Enum indy_vdr::pool::StateProofResult
source · pub enum StateProofResult {
Missing,
Invalid(String, Option<StateProofAssertions>),
Expired(StateProofAssertions),
Verified(StateProofAssertions),
}
Variants§
Missing
Invalid(String, Option<StateProofAssertions>)
Expired(StateProofAssertions)
Verified(StateProofAssertions)
Implementations§
source§impl StateProofResult
impl StateProofResult
pub fn is_verified(&self) -> bool
Trait Implementations§
source§impl Clone for StateProofResult
impl Clone for StateProofResult
source§fn clone(&self) -> StateProofResult
fn clone(&self) -> StateProofResult
Returns a copy 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 StateProofResult
impl Debug for StateProofResult
source§impl<'de> Deserialize<'de> for StateProofResult
impl<'de> Deserialize<'de> for StateProofResult
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for StateProofResult
impl Display for StateProofResult
source§impl PartialEq for StateProofResult
impl PartialEq for StateProofResult
source§fn eq(&self, other: &StateProofResult) -> bool
fn eq(&self, other: &StateProofResult) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for StateProofResult
impl Serialize for StateProofResult
impl Eq for StateProofResult
impl StructuralPartialEq for StateProofResult
Auto Trait Implementations§
impl Freeze for StateProofResult
impl RefUnwindSafe for StateProofResult
impl Send for StateProofResult
impl Sync for StateProofResult
impl Unpin for StateProofResult
impl UnwindSafe for StateProofResult
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