macro_rules! builder_field_update {
($self:expr,serializer = $value:expr) => {
WireframeClientBuilder {
serializer: $value,
codec_config: $self.codec_config,
socket_options: $self.socket_options,
preamble_config: $self.preamble_config,
lifecycle_hooks: $self.lifecycle_hooks,
request_hooks: $self.request_hooks,
tracing_config: $self.tracing_config,
}
};
($self:expr,preamble_config = $value:expr) => {
WireframeClientBuilder {
serializer: $self.serializer,
codec_config: $self.codec_config,
socket_options: $self.socket_options,
preamble_config: $value,
lifecycle_hooks: $self.lifecycle_hooks,
request_hooks: $self.request_hooks,
tracing_config: $self.tracing_config,
}
};
($self:expr,lifecycle_hooks = $value:expr) => {
WireframeClientBuilder {
serializer: $self.serializer,
codec_config: $self.codec_config,
socket_options: $self.socket_options,
preamble_config: $self.preamble_config,
lifecycle_hooks: $value,
request_hooks: $self.request_hooks,
tracing_config: $self.tracing_config,
}
};
}
mod codec;
mod connect;
mod core;
mod lifecycle;
#[cfg(feature = "pool")]
mod pool;
mod preamble;
mod request_hooks;
mod serializer;
mod tracing;
pub use core::WireframeClientBuilder;