pub enum ConfigurationRecordError {
Length,
UnsupportedFields,
DigestMismatch,
InvalidConfiguration,
Replication(ReplicationError),
}Expand description
Rejected durable configuration. No error permits silently replacing membership.
Variants§
Length
Record must have the one exact supported length.
UnsupportedFields
Magic, versions, policy, voter count, or reserved fields are unsupported.
DigestMismatch
Stored configuration bytes no longer match their domain-separated digest.
InvalidConfiguration
Zero epoch/principal or repeated principal binding.
Replication(ReplicationError)
Group or ordered voter identities violate the replication core’s rules.
Trait Implementations§
Source§impl Clone for ConfigurationRecordError
impl Clone for ConfigurationRecordError
impl Copy for ConfigurationRecordError
Source§impl Debug for ConfigurationRecordError
impl Debug for ConfigurationRecordError
Source§impl Display for ConfigurationRecordError
impl Display for ConfigurationRecordError
impl Eq for ConfigurationRecordError
Source§impl Error for ConfigurationRecordError
impl Error for ConfigurationRecordError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<ReplicationError> for ConfigurationRecordError
impl From<ReplicationError> for ConfigurationRecordError
Source§fn from(source: ReplicationError) -> Self
fn from(source: ReplicationError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ConfigurationRecordError
impl PartialEq for ConfigurationRecordError
impl StructuralPartialEq for ConfigurationRecordError
Auto Trait Implementations§
impl Freeze for ConfigurationRecordError
impl RefUnwindSafe for ConfigurationRecordError
impl Send for ConfigurationRecordError
impl Sync for ConfigurationRecordError
impl Unpin for ConfigurationRecordError
impl UnsafeUnpin for ConfigurationRecordError
impl UnwindSafe for ConfigurationRecordError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more