Struct quinn_proto::generic::ClientConfig [−][src]
pub struct ClientConfig<S> where
S: Session, { pub transport: Arc<TransportConfig>, pub crypto: S::ClientConfig, }
Configuration for outgoing connections
Default values should be suitable for most internet applications.
Fields
transport: Arc<TransportConfig>Transport configuration to use
crypto: S::ClientConfigCryptographic configuration to use
Implementations
impl ClientConfig<TlsSession>[src]
impl ClientConfig<TlsSession>[src]pub fn add_certificate_authority(
&mut self,
cert: Certificate
) -> Result<&mut Self, Error>[src]
&mut self,
cert: Certificate
) -> Result<&mut Self, Error>
Add a trusted certificate authority
Trait Implementations
impl<S> Clone for ClientConfig<S> where
S: Session,
S::ClientConfig: Clone, [src]
impl<S> Clone for ClientConfig<S> where
S: Session,
S::ClientConfig: Clone, [src]fn clone(&self) -> Self[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl<S> Debug for ClientConfig<S> where
S: Session, [src]
impl<S> Debug for ClientConfig<S> where
S: Session, [src]Auto Trait Implementations
impl<S> !RefUnwindSafe for ClientConfig<S>
impl<S> !RefUnwindSafe for ClientConfig<S>impl<S> Send for ClientConfig<S> where
<S as Session>::ClientConfig: Send,
impl<S> Send for ClientConfig<S> where
<S as Session>::ClientConfig: Send, impl<S> Sync for ClientConfig<S> where
<S as Session>::ClientConfig: Sync,
impl<S> Sync for ClientConfig<S> where
<S as Session>::ClientConfig: Sync, impl<S> Unpin for ClientConfig<S> where
<S as Session>::ClientConfig: Unpin,
impl<S> Unpin for ClientConfig<S> where
<S as Session>::ClientConfig: Unpin, impl<S> !UnwindSafe for ClientConfig<S>
impl<S> !UnwindSafe for ClientConfig<S>Blanket Implementations
impl<T> Instrument for T[src]
impl<T> Instrument for T[src]pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,