Enum safe_network::messaging::serialisation::NodeMsgAuthority [−][src]
pub enum NodeMsgAuthority { Node(Authority<NodeSigned>), BlsShare(Authority<BlsShareSigned>), Section(Authority<SectionSigned>), }
Expand description
Authority of a NodeMsg. Src of message and authority to send it. Authority is validated by the signature.
Variants
Authority of a single peer.
Tuple Fields of Node
0: Authority<NodeSigned>
Authority of a single peer that uses it’s BLS Keyshare to sign the message.
Authority of a whole section.
Tuple Fields of 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
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
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