Enum signed::RotationError
zaun_community_protocol::signed::RotationError · Enum
pub enum RotationError { … }The rotation chain does not verify. index is 1-based.
Variants
Section titled “Variants”Genesis
Section titled “Genesis”The genesis key does not derive the community id.
Signed { index, error }
Section titled “Signed { index, error }”A rotation’s encoding or one of its signatures is invalid.
Community(u64)
Section titled “Community(u64)”A rotation names another community.
Sequence(u64)
Section titled “Sequence(u64)”rotation_seq is not the rotation’s position.
OldRoot(u64)
Section titled “OldRoot(u64)”old_root is not the previous key of the chain.
SuiteDowngrade(u64)
Section titled “SuiteDowngrade(u64)”new_suite is below the previous suite.
TooLong
Section titled “TooLong”More rotations than rotation_seq can number.
Trait implementations
Section titled “Trait implementations”Clone, Copy, Debug, Display, Eq, Error, From<RotationError>, PartialEq, StructuralPartialEq