Struct safe_network::messaging::system::DkgSessionId
source · [−]Expand description
Unique identifier of a DKG session.
Fields
hash: [u8; 32]
A hash of the peers and prefix of the specific session.
generation: u64
The generation, as in the length of the section chain main branch.
Trait Implementations
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for DkgSessionId
impl Send for DkgSessionId
impl Sync for DkgSessionId
impl Unpin for DkgSessionId
impl UnwindSafe for DkgSessionId
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more