pub enum WireError {
Show 17 variants
Flow(FlowError),
Transfer,
History,
Limit,
OperationKind(u16),
Chain,
Digest,
Envelope(EnvelopeError),
Configuration(ReplicationError),
Peer,
Scope,
Prefix,
Payload,
Length,
Capacity,
Correlation,
UnsupportedCommand,
}Expand description
Structural wire failure. No rejection changes replica or journal state.
Variants§
Flow(FlowError)
Invalid receipt metadata or mismatched local receive incarnation.
Transfer
Response does not match the live source, request, range, or response bound.
History
Invalid election view, frozen generation, or accepted/commit relationship.
Limit
A batch/request is empty, too large, or exceeds an operation/frame work bound.
OperationKind(u16)
Unsupported canonical operation kind.
Chain
Canonical envelope does not continue the announced scope/hash chain.
Digest
Body or envelope digest does not match the received canonical bytes.
Envelope(EnvelopeError)
Invalid native envelope or directional frame bound.
Configuration(ReplicationError)
Invalid configured voter supplied to the binding.
Peer
Sender, embedded voter, or session does not match authenticated binding.
Scope
Group/configuration epoch/digest does not match the configured group.
Prefix
Invalid genesis/digest pairing or unrepresentable successor operation.
Payload
A control command cannot carry payload bytes.
Length
Truncated fields or extra metadata.
Capacity
Output storage cannot hold the complete encoded message.
Correlation
Command correlation/response flag does not match its exchange family.
UnsupportedCommand
Opcode does not have an implemented replica codec.
Trait Implementations§
impl Copy for WireError
impl Eq for WireError
Source§impl Error for WireError
impl Error for WireError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()