pub enum VdfAlgorithm {
Wesolowski,
Pietrzak,
Rsa2048,
}Expand description
VDF algorithm identifier.
Variants§
Trait Implementations§
Source§impl Clone for VdfAlgorithm
impl Clone for VdfAlgorithm
Source§fn clone(&self) -> VdfAlgorithm
fn clone(&self) -> VdfAlgorithm
Returns a duplicate 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 VdfAlgorithm
impl Debug for VdfAlgorithm
Source§impl Default for VdfAlgorithm
impl Default for VdfAlgorithm
Source§fn default() -> VdfAlgorithm
fn default() -> VdfAlgorithm
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VdfAlgorithm
impl<'de> Deserialize<'de> for VdfAlgorithm
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 PartialEq for VdfAlgorithm
impl PartialEq for VdfAlgorithm
Source§impl Serialize for VdfAlgorithm
impl Serialize for VdfAlgorithm
impl Copy for VdfAlgorithm
impl Eq for VdfAlgorithm
impl StructuralPartialEq for VdfAlgorithm
Auto Trait Implementations§
impl Freeze for VdfAlgorithm
impl RefUnwindSafe for VdfAlgorithm
impl Send for VdfAlgorithm
impl Sync for VdfAlgorithm
impl Unpin for VdfAlgorithm
impl UnsafeUnpin for VdfAlgorithm
impl UnwindSafe for VdfAlgorithm
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