Struct rnp::PingClientConfig
source · [−]pub struct PingClientConfig {
pub wait_timeout: Duration,
pub time_to_live: Option<u32>,
pub check_disconnect: bool,
pub wait_before_disconnect: Duration,
pub disconnect_timeout: Duration,
pub server_name: Option<String>,
pub log_tls_key: bool,
pub alpn_protocol: Option<String>,
pub use_timer_rtt: bool,
}
Fields
wait_timeout: Duration
time_to_live: Option<u32>
check_disconnect: bool
wait_before_disconnect: Duration
disconnect_timeout: Duration
server_name: Option<String>
log_tls_key: bool
alpn_protocol: Option<String>
use_timer_rtt: bool
Trait Implementations
sourceimpl Clone for PingClientConfig
impl Clone for PingClientConfig
sourcefn clone(&self) -> PingClientConfig
fn clone(&self) -> PingClientConfig
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for PingClientConfig
impl Debug for PingClientConfig
sourceimpl PartialEq<PingClientConfig> for PingClientConfig
impl PartialEq<PingClientConfig> for PingClientConfig
sourcefn eq(&self, other: &PingClientConfig) -> bool
fn eq(&self, other: &PingClientConfig) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl StructuralPartialEq for PingClientConfig
Auto Trait Implementations
impl RefUnwindSafe for PingClientConfig
impl Send for PingClientConfig
impl Sync for PingClientConfig
impl Unpin for PingClientConfig
impl UnwindSafe for PingClientConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<V, T> VZip<V> for Twhere
V: MultiLane<T>,
impl<V, T> VZip<V> for Twhere
V: MultiLane<T>,
fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more