#[non_exhaustive]pub enum CompactionOutcome {
Compacted,
Noop,
Failed,
Cancelled,
Unknown(String),
}Expand description
Compaction outcome. Open.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Compacted
A summary was installed.
Noop
Nothing compactable; a noop is a success.
Failed
The summarizer failed; fallback recorded.
Cancelled
The compaction was cancelled.
Unknown(String)
A value from a newer host, kept verbatim so an older client decodes the rest of the message. Never construct it with a known word.
Implementations§
Trait Implementations§
Source§impl Clone for CompactionOutcome
impl Clone for CompactionOutcome
Source§impl Debug for CompactionOutcome
impl Debug for CompactionOutcome
Source§impl<'de> Deserialize<'de> for CompactionOutcome
impl<'de> Deserialize<'de> for CompactionOutcome
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for CompactionOutcome
Source§impl PartialEq for CompactionOutcome
impl PartialEq for CompactionOutcome
Source§impl Serialize for CompactionOutcome
impl Serialize for CompactionOutcome
impl StructuralPartialEq for CompactionOutcome
Auto Trait Implementations§
impl Forget for CompactionOutcome
impl Freeze for CompactionOutcome
impl Move for CompactionOutcome
impl RefUnwindSafe for CompactionOutcome
impl Send for CompactionOutcome
impl Sync for CompactionOutcome
impl Unpin for CompactionOutcome
impl UnsafeUnpin for CompactionOutcome
impl UnwindSafe for CompactionOutcome
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