Struct chain_impl_mockchain::chaineval::PraosNonce
source · pub struct PraosNonce([u8; 32]);
Expand description
PraosNonce gathered per block
Tuple Fields§
§0: [u8; 32]
Implementations§
Trait Implementations§
source§impl AsRef<[u8]> for PraosNonce
impl AsRef<[u8]> for PraosNonce
source§impl Clone for PraosNonce
impl Clone for PraosNonce
source§fn clone(&self) -> PraosNonce
fn clone(&self) -> PraosNonce
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 PraosNonce
impl Debug for PraosNonce
source§impl PartialEq<PraosNonce> for PraosNonce
impl PartialEq<PraosNonce> for PraosNonce
source§fn eq(&self, other: &PraosNonce) -> bool
fn eq(&self, other: &PraosNonce) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for PraosNonce
impl StructuralEq for PraosNonce
impl StructuralPartialEq for PraosNonce
Auto Trait Implementations§
impl RefUnwindSafe for PraosNonce
impl Send for PraosNonce
impl Sync for PraosNonce
impl Unpin for PraosNonce
impl UnwindSafe for PraosNonce
Blanket Implementations§
§impl<T> Base32Len for Twhere
T: AsRef<[u8]>,
impl<T> Base32Len for Twhere T: AsRef<[u8]>,
§fn base32_len(&self) -> usize
fn base32_len(&self) -> usize
Calculate the base32 serialized length
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<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<T> ToHex for Twhere
T: AsRef<[u8]>,
impl<T> ToHex for Twhere T: AsRef<[u8]>,
source§fn encode_hex<U>(&self) -> Uwhere
U: FromIterator<char>,
fn encode_hex<U>(&self) -> Uwhere U: FromIterator<char>,
Encode the hex strict representing
self
into the result. Lower case
letters are used (e.g. f9b4ca
)source§fn encode_hex_upper<U>(&self) -> Uwhere
U: FromIterator<char>,
fn encode_hex_upper<U>(&self) -> Uwhere U: FromIterator<char>,
Encode the hex strict representing
self
into the result. Upper case
letters are used (e.g. F9B4CA
)