pub struct ConnectionFactoryConfig { /* private fields */ }Expand description
The configuration for ConnectionFactory.
Implementations§
Source§impl ConnectionFactoryConfig
impl ConnectionFactoryConfig
Sourcepub fn new(connection_type: ConnectionType) -> Self
pub fn new(connection_type: ConnectionType) -> Self
Constructs a new ConnectionFactoryConfig.
Trait Implementations§
Source§impl From<&ClientConfig> for ConnectionFactoryConfig
ConnectionFactoryConfig can be built from ClientConfig.
impl From<&ClientConfig> for ConnectionFactoryConfig
ConnectionFactoryConfig can be built from ClientConfig.
Source§fn from(client_config: &ClientConfig) -> Self
fn from(client_config: &ClientConfig) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ConnectionFactoryConfig
impl RefUnwindSafe for ConnectionFactoryConfig
impl Send for ConnectionFactoryConfig
impl Sync for ConnectionFactoryConfig
impl Unpin for ConnectionFactoryConfig
impl UnwindSafe for ConnectionFactoryConfig
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