Struct fluvio::FluvioConfig [−][src]
#[non_exhaustive]pub struct FluvioConfig {
pub endpoint: String,
pub use_spu_local_address: bool,
pub tls: TlsPolicy,
}
Expand description
Public configuration for Fluvio.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.endpoint: String
The address to connect to the Fluvio cluster
use_spu_local_address: bool
tls: TlsPolicy
The TLS policy to use when connecting to the cluster
Implementations
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for FluvioConfig
impl Send for FluvioConfig
impl Sync for FluvioConfig
impl Unpin for FluvioConfig
impl UnwindSafe for FluvioConfig
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more