pub enum DeviceErrorTestOnly {
PowerLoss,
StorageFull,
StateMismatch,
Frozen,
NotAcknowledged,
Store(V2StoreError),
}Expand description
The failures of the device component and checkpoint (Go
ErrDevicePowerLoss, ErrDeviceStorageFull, ErrDeviceStateMismatch,
ErrDeviceFrozen, and ErrNotAcknowledged), plus a store or clock
failure passed through.
Variants§
PowerLoss
Power was lost during a checkpoint submission. Before the component commits nothing is recorded; after it commits, the acknowledgement is durable but its response is lost.
StorageFull
The component has no space for another acknowledgement. It never overwrites or wraps.
StateMismatch
A state anchor or submission does not extend the component’s head: the previous complete-state digest differs from the anchored one, the previous entry hash differs, or the sequence is not the next one.
Frozen
A different entry was submitted at an acknowledged sequence; the component acknowledges nothing further.
NotAcknowledged
The primary holds no appended entry with that hash at that sequence.
Store(V2StoreError)
A security-clock, signature, or store failure.
Trait Implementations§
Source§impl Clone for DeviceErrorTestOnly
impl Clone for DeviceErrorTestOnly
Source§impl Debug for DeviceErrorTestOnly
impl Debug for DeviceErrorTestOnly
Source§impl Display for DeviceErrorTestOnly
impl Display for DeviceErrorTestOnly
impl Eq for DeviceErrorTestOnly
Source§impl Error for DeviceErrorTestOnly
impl Error for DeviceErrorTestOnly
1.30.0 · 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()