Struct cardano_serialization_lib::crypto::VRFVKey
source · [−]pub struct VRFVKey(_);
Implementations
sourceimpl VRFVKey
impl VRFVKey
pub fn from_bytes(bytes: Vec<u8>) -> Result<VRFVKey, DeserializeError>
sourceimpl VRFVKey
impl VRFVKey
pub const BYTE_COUNT: usize = 32usize
Trait Implementations
sourceimpl Deserialize for VRFVKey
impl Deserialize for VRFVKey
fn deserialize<R: BufRead>(
raw: &mut Deserializer<R>
) -> Result<Self, DeserializeError>
sourceimpl Ord for VRFVKey
impl Ord for VRFVKey
sourceimpl PartialOrd<VRFVKey> for VRFVKey
impl PartialOrd<VRFVKey> for VRFVKey
sourcefn partial_cmp(&self, other: &VRFVKey) -> Option<Ordering>
fn partial_cmp(&self, other: &VRFVKey) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl Serialize for VRFVKey
impl Serialize for VRFVKey
fn serialize<'se, W: Write>(
&self,
serializer: &'se mut Serializer<W>
) -> Result<&'se mut Serializer<W>>
impl Eq for VRFVKey
impl StructuralEq for VRFVKey
impl StructuralPartialEq for VRFVKey
Auto Trait Implementations
impl RefUnwindSafe for VRFVKey
impl Send for VRFVKey
impl Sync for VRFVKey
impl Unpin for VRFVKey
impl UnwindSafe for VRFVKey
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more