pub struct KeyspaceOptsBuilder { /* private fields */ }
Expand description
Builder for KeyspaceOpts
.
Implementations§
Source§impl KeyspaceOptsBuilder
impl KeyspaceOptsBuilder
pub fn replication<VALUE: Into<Replication>>( &mut self, value: VALUE, ) -> &mut Self
pub fn durable_writes(&mut self, value: bool) -> &mut Self
Sourcepub fn build(&self) -> Result<KeyspaceOpts, KeyspaceOptsBuilderError>
pub fn build(&self) -> Result<KeyspaceOpts, KeyspaceOptsBuilderError>
Trait Implementations§
Source§impl Clone for KeyspaceOptsBuilder
impl Clone for KeyspaceOptsBuilder
Source§fn clone(&self) -> KeyspaceOptsBuilder
fn clone(&self) -> KeyspaceOptsBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for KeyspaceOptsBuilder
impl RefUnwindSafe for KeyspaceOptsBuilder
impl Send for KeyspaceOptsBuilder
impl Sync for KeyspaceOptsBuilder
impl Unpin for KeyspaceOptsBuilder
impl UnwindSafe for KeyspaceOptsBuilder
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