pub struct ConnectionProperties {
pub locale: String,
pub client_properties: FieldTable,
pub executor: Option<Arc<dyn FullExecutor + Send + Sync>>,
pub reactor: Option<Arc<dyn FullReactor + Send + Sync>>,
pub recovery_config: Option<RecoveryConfig>,
}Fields§
§locale: String§client_properties: FieldTable§executor: Option<Arc<dyn FullExecutor + Send + Sync>>§reactor: Option<Arc<dyn FullReactor + Send + Sync>>§recovery_config: Option<RecoveryConfig>Implementations§
Source§impl ConnectionProperties
impl ConnectionProperties
pub fn with_connection_name( self, connection_name: LongString, ) -> ConnectionProperties
pub fn with_executor<E>(self, executor: E) -> ConnectionProperties
pub fn with_reactor<R>(self, reactor: R) -> ConnectionProperties
Trait Implementations§
Source§impl Clone for ConnectionProperties
impl Clone for ConnectionProperties
Source§fn clone(&self) -> ConnectionProperties
fn clone(&self) -> ConnectionProperties
Returns a duplicate 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 Default for ConnectionProperties
impl Default for ConnectionProperties
Source§fn default() -> ConnectionProperties
fn default() -> ConnectionProperties
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ConnectionProperties
impl !RefUnwindSafe for ConnectionProperties
impl Send for ConnectionProperties
impl Sync for ConnectionProperties
impl Unpin for ConnectionProperties
impl !UnwindSafe for ConnectionProperties
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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