Struct sea_streamer::SeaConnectOptions
source ยท pub struct SeaConnectOptions { /* private fields */ }Available on crate feature
sea-streamer-socket only.Expand description
sea-streamer-socket concrete type of ConnectOptions.
Implementationsยง
sourceยงimpl SeaConnectOptions
impl SeaConnectOptions
pub fn into_kafka_connect_options(self) -> KafkaConnectOptions
pub fn into_stdio_connect_options(self) -> StdioConnectOptions
sourcepub fn set_kafka_connect_options<F>(&mut self, func: F)where
F: FnOnce(&mut KafkaConnectOptions),
pub fn set_kafka_connect_options<F>(&mut self, func: F)where F: FnOnce(&mut KafkaConnectOptions),
Set options that only applies to Kafka
sourcepub fn set_stdio_connect_options<F>(&mut self, func: F)where
F: FnOnce(&mut StdioConnectOptions),
pub fn set_stdio_connect_options<F>(&mut self, func: F)where F: FnOnce(&mut StdioConnectOptions),
Set options that only applies to Stdio
Trait Implementationsยง
sourceยงimpl Clone for SeaConnectOptions
impl Clone for SeaConnectOptions
sourceยงfn clone(&self) -> SeaConnectOptions
fn clone(&self) -> SeaConnectOptions
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 ConnectOptions for SeaConnectOptions
impl ConnectOptions for SeaConnectOptions
type Error = BackendErr
fn timeout(&self) -> Result<Duration, StreamErr<BackendErr>>
fn set_timeout( &mut self, d: Duration ) -> Result<&mut SeaConnectOptions, StreamErr<BackendErr>>
sourceยงimpl Debug for SeaConnectOptions
impl Debug for SeaConnectOptions
sourceยงimpl Default for SeaConnectOptions
impl Default for SeaConnectOptions
sourceยงfn default() -> SeaConnectOptions
fn default() -> SeaConnectOptions
Returns the โdefault valueโ for a type. Read more
Auto Trait Implementationsยง
impl RefUnwindSafe for SeaConnectOptions
impl Send for SeaConnectOptions
impl Sync for SeaConnectOptions
impl Unpin for SeaConnectOptions
impl UnwindSafe for SeaConnectOptions
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