pub enum NodeMsgAuthority {
Node(AuthorityProof<NodeAuth>),
BlsShare(AuthorityProof<BlsShareAuth>),
Section(AuthorityProof<SectionAuth>),
}
Expand description
Authority of a NodeMsg. Src of message and authority to send it. Authority is validated by the signature.
Variants
Node(AuthorityProof<NodeAuth>)
Authority of a single peer.
BlsShare(AuthorityProof<BlsShareAuth>)
Authority of a single peer that uses it’s BLS Keyshare to sign the message.
Section(AuthorityProof<SectionAuth>)
Authority of a whole section.
Trait Implementations
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 NodeMsgAuthority
impl Send for NodeMsgAuthority
impl Sync for NodeMsgAuthority
impl Unpin for NodeMsgAuthority
impl UnwindSafe for NodeMsgAuthority
Blanket Implementations
Mutably borrows from an owned value. Read more
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