Struct avassa_client::volga::CreateOptions
source · pub struct CreateOptions {
pub replication_factor: u32,
pub persistence: Persistence,
pub num_chunks: usize,
pub format: Format,
pub ephemeral: bool,
}Expand description
Volga options for consumers and producers
Fields§
§replication_factor: u32Number of replicas in the cluster
persistence: PersistenceVolga stream persistence
num_chunks: usizenumber of 1Mb chunks
format: FormatVolga format
ephemeral: boolDelete topic after call producers and consumers disconnect
Trait Implementations§
source§impl Clone for CreateOptions
impl Clone for CreateOptions
source§fn clone(&self) -> CreateOptions
fn clone(&self) -> CreateOptions
Returns a copy of the value. Read more
1.0.0 · 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 RefUnwindSafe for CreateOptions
impl Send for CreateOptions
impl Sync for CreateOptions
impl Unpin 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