pub struct InvalidProof;Expand description
An empty struct indicating verification failure.
For security reasons, the functions that perform verification do not
return any information on failure. Use VDF::validate_params to check if
the parameters are correct.
Trait Implementations§
Source§impl Clone for InvalidProof
impl Clone for InvalidProof
Source§fn clone(&self) -> InvalidProof
fn clone(&self) -> InvalidProof
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 moreSource§impl Debug for InvalidProof
impl Debug for InvalidProof
Source§impl Hash for InvalidProof
impl Hash for InvalidProof
Source§impl Ord for InvalidProof
impl Ord for InvalidProof
Source§fn cmp(&self, other: &InvalidProof) -> Ordering
fn cmp(&self, other: &InvalidProof) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for InvalidProof
impl PartialEq for InvalidProof
Source§fn eq(&self, other: &InvalidProof) -> bool
fn eq(&self, other: &InvalidProof) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for InvalidProof
impl PartialOrd for InvalidProof
impl Copy for InvalidProof
impl Eq for InvalidProof
impl StructuralPartialEq for InvalidProof
Auto Trait Implementations§
impl Freeze for InvalidProof
impl RefUnwindSafe for InvalidProof
impl Send for InvalidProof
impl Sync for InvalidProof
impl Unpin for InvalidProof
impl UnsafeUnpin for InvalidProof
impl UnwindSafe for InvalidProof
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