Enum scylladb_parse::Compaction
source · [−]pub enum Compaction {
SizeTiered(SizeTieredCompactionStrategy),
Leveled(LeveledCompactionStrategy),
TimeWindow(TimeWindowCompactionStrategy),
}Variants
SizeTiered(SizeTieredCompactionStrategy)
Leveled(LeveledCompactionStrategy)
TimeWindow(TimeWindowCompactionStrategy)
Implementations
sourceimpl Compaction
impl Compaction
pub fn size_tiered() -> SizeTieredCompactionStrategyBuilder where
Self: Sized,
pub fn leveled() -> LeveledCompactionStrategyBuilder where
Self: Sized,
pub fn time_window() -> TimeWindowCompactionStrategyBuilder where
Self: Sized,
Trait Implementations
sourceimpl Clone for Compaction
impl Clone for Compaction
sourcefn clone(&self) -> Compaction
fn clone(&self) -> Compaction
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl<'a> CustomToTokens<'a> for Compaction
impl<'a> CustomToTokens<'a> for Compaction
fn to_tokens(&'a self, tokens: &mut TokenStream)
sourceimpl Debug for Compaction
impl Debug for Compaction
sourceimpl Display for Compaction
impl Display for Compaction
sourceimpl From<LeveledCompactionStrategy> for Compaction
impl From<LeveledCompactionStrategy> for Compaction
sourcefn from(original: LeveledCompactionStrategy) -> Compaction
fn from(original: LeveledCompactionStrategy) -> Compaction
Converts to this type from the input type.
sourceimpl From<SizeTieredCompactionStrategy> for Compaction
impl From<SizeTieredCompactionStrategy> for Compaction
sourcefn from(original: SizeTieredCompactionStrategy) -> Compaction
fn from(original: SizeTieredCompactionStrategy) -> Compaction
Converts to this type from the input type.
sourceimpl From<TimeWindowCompactionStrategy> for Compaction
impl From<TimeWindowCompactionStrategy> for Compaction
sourcefn from(original: TimeWindowCompactionStrategy) -> Compaction
fn from(original: TimeWindowCompactionStrategy) -> Compaction
Converts to this type from the input type.
sourceimpl PartialEq<Compaction> for Compaction
impl PartialEq<Compaction> for Compaction
sourcefn eq(&self, other: &Compaction) -> bool
fn eq(&self, other: &Compaction) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &Compaction) -> bool
fn ne(&self, other: &Compaction) -> bool
This method tests for !=.
sourceimpl ToTokens for Compaction
impl ToTokens for Compaction
sourcefn to_tokens(&self, tokens: &mut TokenStream)
fn to_tokens(&self, tokens: &mut TokenStream)
Write self to the given TokenStream. Read more
sourcefn to_token_stream(&self) -> TokenStream
fn to_token_stream(&self) -> TokenStream
Convert self directly into a TokenStream object. Read more
sourcefn into_token_stream(self) -> TokenStream
fn into_token_stream(self) -> TokenStream
Convert self directly into a TokenStream object. Read more
sourceimpl TryFrom<Compaction> for LeveledCompactionStrategy
impl TryFrom<Compaction> for LeveledCompactionStrategy
sourceimpl TryFrom<MapLiteral> for Compaction
impl TryFrom<MapLiteral> for Compaction
impl StructuralPartialEq for Compaction
Auto Trait Implementations
impl RefUnwindSafe for Compaction
impl Send for Compaction
impl Sync for Compaction
impl Unpin for Compaction
impl UnwindSafe for Compaction
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more