pub enum PurgeError {
Store(StoreError),
InsufficientTempSpace {
segment_bytes: u64,
available_bytes: u64,
required_bytes: u64,
},
PurgeInProgress,
UnknownToken {
token_id: u64,
},
IntentFormat(FormatError),
IntentDecode(String),
WalPayload(PayloadError),
WalRewriteWouldDropAcked {
seq: LogSeq,
},
}Expand description
Typed physical-purge rejection.
Variants§
Store(StoreError)
Store lifecycle, format, filesystem, or synchronization failure.
InsufficientTempSpace
Rewriting one immutable segment would exceed available temporary disk.
Fields
PurgeInProgress
One store already owns a scheduled purge that has not resolved.
UnknownToken
A token was not issued by this store’s current pending operation.
IntentFormat(FormatError)
The durable purge-intent frame failed checksum or header validation.
IntentDecode(String)
The durable purge-intent payload violated its fixed-width contract.
WalPayload(PayloadError)
Re-encoding the surviving active state violated the WAL payload contract.
WalRewriteWouldDropAcked
Rewriting the WAL would discard an acknowledged, unabsorbed mutation.
Trait Implementations§
Source§impl Debug for PurgeError
impl Debug for PurgeError
Source§impl Display for PurgeError
impl Display for PurgeError
Source§impl Error for PurgeError
impl Error for PurgeError
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<StoreError> for PurgeError
impl From<StoreError> for PurgeError
Source§fn from(error: StoreError) -> Self
fn from(error: StoreError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for PurgeError
impl !UnwindSafe for PurgeError
impl Freeze for PurgeError
impl Send for PurgeError
impl Sync for PurgeError
impl Unpin for PurgeError
impl UnsafeUnpin for PurgeError
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