#[non_exhaustive]pub struct CreateOptions { /* private fields */ }Expand description
Volga options for consumers and producers.
Implementations§
Source§impl CreateOptions
impl CreateOptions
Sourcepub fn replication_factor(self, replication_factor: u32) -> Self
pub fn replication_factor(self, replication_factor: u32) -> Self
Number of replicas in the cluster.
Sourcepub fn persistence(self, persistence: Persistence) -> Self
pub fn persistence(self, persistence: Persistence) -> Self
Volga stream persistence.
Trait Implementations§
Source§impl Clone for CreateOptions
impl Clone for CreateOptions
Source§fn clone(&self) -> CreateOptions
fn clone(&self) -> CreateOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CreateOptions
impl Debug for CreateOptions
Source§impl Default for CreateOptions
impl Default for CreateOptions
Source§impl Serialize for CreateOptions
impl Serialize for CreateOptions
impl Copy for CreateOptions
Auto Trait Implementations§
impl Freeze for CreateOptions
impl RefUnwindSafe for CreateOptions
impl Send for CreateOptions
impl Sync for CreateOptions
impl Unpin for CreateOptions
impl UnsafeUnpin for CreateOptions
impl UnwindSafe for CreateOptions
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