Enum sn_messaging::section_info::Error [−][src]
#[non_exhaustive] pub enum Error { TargetSectionInfoOutdated(SectionInfo), DkgInProgress, UnrecognizedSectionKey, NoSectionPkSet, InvalidBootstrap(String), }
Variants (Non-exhaustive)
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
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
impl<'de> Deserialize<'de> for Error
[src]
impl<'de> Deserialize<'de> for Error
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl PartialOrd<Error> for Error
[src]
impl PartialOrd<Error> for Error
[src]impl StructuralEq for Error
[src]
impl StructuralEq for Error
[src]impl StructuralPartialEq for Error
[src]
impl StructuralPartialEq for Error
[src]Auto Trait Implementations
impl RefUnwindSafe for Error
impl RefUnwindSafe for Error
impl UnwindSafe for Error
impl UnwindSafe for Error
Blanket Implementations
impl<T> AsFail for T where
T: Fail,
impl<T> AsFail for T where
T: Fail,
pub fn as_fail(&self) -> &(dyn Fail + 'static)
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,