Trait KeyspaceOptionsExt

Source
pub trait KeyspaceOptionsExt {
    // Required methods
    fn keyspace_opts(&self) -> &KeyspaceOpts;
    fn keyspace_opts_mut(&mut self) -> &mut KeyspaceOpts;

    // Provided methods
    fn set_replication(&mut self, replication: Replication) { ... }
    fn set_durable_writes(&mut self, durable_writes: bool) { ... }
    fn with_replication(self, replication: Replication) -> Self
       where Self: Sized { ... }
    fn with_durable_writes(self, durable_writes: bool) -> Self
       where Self: Sized { ... }
    fn get_replication(&self) -> &Replication { ... }
    fn get_durable_writes(&self) -> Option<bool> { ... }
}

Required Methods§

Provided Methods§

Source

fn set_replication(&mut self, replication: Replication)

Source

fn set_durable_writes(&mut self, durable_writes: bool)

Source

fn with_replication(self, replication: Replication) -> Self
where Self: Sized,

Source

fn with_durable_writes(self, durable_writes: bool) -> Self
where Self: Sized,

Source

fn get_replication(&self) -> &Replication

Source

fn get_durable_writes(&self) -> Option<bool>

Implementors§