pub struct FailEntropy(/* private fields */);Expand description
512-bit opaque blob of data used to seed Fail nodes
Implementations§
Source§impl FailEntropy
 
impl FailEntropy
Sourcepub fn from_byte_array(data: [u8; 64]) -> Self
 
pub fn from_byte_array(data: [u8; 64]) -> Self
Construct a FailEntropy from raw data
Trait Implementations§
Source§impl AsRef<[u8]> for FailEntropy
 
impl AsRef<[u8]> for FailEntropy
Source§impl Clone for FailEntropy
 
impl Clone for FailEntropy
Source§fn clone(&self) -> FailEntropy
 
fn clone(&self) -> FailEntropy
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 FailEntropy
 
impl Debug for FailEntropy
Source§impl Display for FailEntropy
 
impl Display for FailEntropy
Source§impl Hash for FailEntropy
 
impl Hash for FailEntropy
Source§impl Ord for FailEntropy
 
impl Ord for FailEntropy
Source§fn cmp(&self, other: &FailEntropy) -> Ordering
 
fn cmp(&self, other: &FailEntropy) -> Ordering
1.21.0 · 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 FailEntropy
 
impl PartialEq for FailEntropy
Source§impl PartialOrd for FailEntropy
 
impl PartialOrd for FailEntropy
impl Copy for FailEntropy
impl Eq for FailEntropy
impl StructuralPartialEq for FailEntropy
Auto Trait Implementations§
impl Freeze for FailEntropy
impl RefUnwindSafe for FailEntropy
impl Send for FailEntropy
impl Sync for FailEntropy
impl Unpin for FailEntropy
impl UnwindSafe for FailEntropy
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