[][src]Struct quinn_proto::generic::ClientConfig

pub struct ClientConfig<C> {
    pub transport: Arc<TransportConfig>,
    pub crypto: C,
    pub log: Option<Logger>,
}

Configuration for outgoing connections

Default values should be suitable for most internet applications.

Fields

transport: Arc<TransportConfig>

Transport configuration to use

crypto: C

Cryptographic configuration to use

log: Option<Logger>

Diagnostic logger

If unset, the endpoint's logger is used.

Trait Implementations

impl<C: Default> Default for ClientConfig<C>[src]

impl<C: Clone> Clone for ClientConfig<C>[src]

impl<C: Debug> Debug for ClientConfig<C>[src]

Auto Trait Implementations

impl<C> Unpin for ClientConfig<C> where
    C: Unpin

impl<C> Sync for ClientConfig<C> where
    C: Sync

impl<C> Send for ClientConfig<C> where
    C: Send

impl<C> UnwindSafe for ClientConfig<C> where
    C: UnwindSafe

impl<C> RefUnwindSafe for ClientConfig<C> where
    C: RefUnwindSafe

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized
[src]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,