Enum sn_messaging::node::Proposal [−][src]
pub enum Proposal { Online { node_state: NodeState, previous_name: Option<XorName>, destination_key: Option<BlsPublicKey>, }, Offline(NodeState), SectionInfo(SectionAuthorityProvider), OurElders(SectionSigned<SectionAuthorityProvider>), AccumulateAtSrc { message: Box<PlainMessage>, proof_chain: SecuredLinkedList, }, JoinsAllowed((MessageId, bool)), }
Variants
Show fields
Fields of Online
Offline(NodeState)
SectionInfo(SectionAuthorityProvider)
OurElders(SectionSigned<SectionAuthorityProvider>)
Show fields
Fields of AccumulateAtSrc
message: Box<PlainMessage>
proof_chain: SecuredLinkedList
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
Auto Trait Implementations
impl RefUnwindSafe for Proposal
impl UnwindSafe for Proposal
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V