pub struct TransportParameters { /* private fields */ }
Expand description
Transport parameters used to negotiate connection-level preferences between peers
Implementations§
Source§impl TransportParameters
impl TransportParameters
Sourcepub fn nat_traversal_config(&self) -> Option<&NatTraversalConfig>
pub fn nat_traversal_config(&self) -> Option<&NatTraversalConfig>
Get the NAT traversal configuration for this connection
This is a public accessor method for tests and external code that need to examine the negotiated NAT traversal parameters.
Sourcepub fn supports_rfc_nat_traversal(&self) -> bool
pub fn supports_rfc_nat_traversal(&self) -> bool
Check if RFC-compliant NAT traversal frames are supported
Returns true if both endpoints support RFC NAT traversal
Sourcepub fn pqc_algorithms(&self) -> Option<&PqcAlgorithms>
pub fn pqc_algorithms(&self) -> Option<&PqcAlgorithms>
Get the PQC algorithms configuration for this connection
This is a public accessor method for tests and external code that need to examine the negotiated PQC algorithm support.
Trait Implementations§
Source§impl Clone for TransportParameters
impl Clone for TransportParameters
Source§fn clone(&self) -> TransportParameters
fn clone(&self) -> TransportParameters
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for TransportParameters
impl Debug for TransportParameters
Source§impl PartialEq for TransportParameters
impl PartialEq for TransportParameters
impl Eq for TransportParameters
impl StructuralPartialEq for TransportParameters
Auto Trait Implementations§
impl Freeze for TransportParameters
impl RefUnwindSafe for TransportParameters
impl Send for TransportParameters
impl Sync for TransportParameters
impl Unpin for TransportParameters
impl UnwindSafe for TransportParameters
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.