Enum sn_messaging::section_info::Error [−][src]
#[non_exhaustive] pub enum Error { TargetSectionInfoOutdated(SectionInfo), DkgInProgress, UnrecognizedSectionKey, NoSectionPkSet, InvalidBootstrap(String), }
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
TargetSectionInfoOutdated(SectionInfo)
Target section key provided with message is out of date. Current PK Set is provided in error
Target section is undergoing churn, a new key set will be agreed upon shortly
Target section is unrecognized
No PublicKeySet found at this section
InvalidBootstrap(String)
Invalid data in the bootstrap cmd
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
Performs the conversion.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for Error
impl UnwindSafe for Error
Blanket Implementations
pub fn as_fail(&self) -> &(dyn Fail + 'static)
pub fn as_fail(&self) -> &(dyn Fail + 'static)
Converts a reference to Self
into a dynamic trait object of Fail
.
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V