pub struct ClientConfig {
pub transport: Arc<TransportConfig>,
}Expand description
Configuration for outgoing associations
Default values should be suitable for most internet applications.
Fields§
§transport: Arc<TransportConfig>Transport configuration to use
Implementations§
Source§impl ClientConfig
impl ClientConfig
Sourcepub fn new(transport: TransportConfig) -> Self
pub fn new(transport: TransportConfig) -> Self
Create a default configuration with a particular cryptographic configuration
Trait Implementations§
Source§impl Clone for ClientConfig
impl Clone for ClientConfig
Source§impl Debug for ClientConfig
impl Debug for ClientConfig
Auto Trait Implementations§
impl Forget for ClientConfig
impl Freeze for ClientConfigwhere
*const ArcInner<TransportConfig> is !null: Freeze,
PhantomData<ArcInner<TransportConfig>>: Freeze,
impl Move for ClientConfig
impl RefUnwindSafe for ClientConfig
impl Send for ClientConfig
impl Sync for ClientConfig
impl Unpin for ClientConfig
impl UnsafeUnpin for ClientConfigwhere
*const ArcInner<TransportConfig> is !null: UnsafeUnpin,
PhantomData<ArcInner<TransportConfig>>: UnsafeUnpin,
impl UnwindSafe for ClientConfig
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