Struct sea_streamer::SeaProducerOptions
source ยท pub struct SeaProducerOptions { /* private fields */ }
Available on crate feature
sea-streamer-socket
only.Expand description
sea-streamer-socket
concrete type of ProducerOptions.
Implementationsยง
sourceยงimpl SeaProducerOptions
impl SeaProducerOptions
pub fn into_kafka_producer_options(self) -> KafkaProducerOptions
pub fn into_stdio_producer_options(self) -> StdioProducerOptions
sourcepub fn set_kafka_producer_options<F>(&mut self, func: F)where
F: FnOnce(&mut KafkaProducerOptions),
pub fn set_kafka_producer_options<F>(&mut self, func: F)where
F: FnOnce(&mut KafkaProducerOptions),
Set options that only applies to Kafka
sourcepub fn set_stdio_producer_options<F>(&mut self, func: F)where
F: FnOnce(&mut StdioProducerOptions),
pub fn set_stdio_producer_options<F>(&mut self, func: F)where
F: FnOnce(&mut StdioProducerOptions),
Set options that only applies to Stdio
Trait Implementationsยง
sourceยงimpl Clone for SeaProducerOptions
impl Clone for SeaProducerOptions
sourceยงfn clone(&self) -> SeaProducerOptions
fn clone(&self) -> SeaProducerOptions
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 SeaProducerOptions
impl Debug for SeaProducerOptions
sourceยงimpl Default for SeaProducerOptions
impl Default for SeaProducerOptions
sourceยงfn default() -> SeaProducerOptions
fn default() -> SeaProducerOptions
Returns the โdefault valueโ for a type. Read more
impl ProducerOptions for SeaProducerOptions
Auto Trait Implementationsยง
impl Freeze for SeaProducerOptions
impl RefUnwindSafe for SeaProducerOptions
impl Send for SeaProducerOptions
impl Sync for SeaProducerOptions
impl Unpin for SeaProducerOptions
impl UnwindSafe for SeaProducerOptions
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