pub struct QuicConfig {
pub port: u16,
}
Available on crate feature
relay
only.Expand description
Configuration for speaking to the QUIC endpoint on the relay server to do QUIC address discovery.
Fields§
§port: u16
Trait Implementations§
Source§impl Clone for QuicConfig
impl Clone for QuicConfig
Source§fn clone(&self) -> QuicConfig
fn clone(&self) -> QuicConfig
Returns a copy 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 QuicConfig
impl Debug for QuicConfig
Source§impl Default for QuicConfig
impl Default for QuicConfig
Source§impl<'de> Deserialize<'de> for QuicConfig
impl<'de> Deserialize<'de> for QuicConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Ord for QuicConfig
impl Ord for QuicConfig
Source§fn cmp(&self, other: &QuicConfig) -> Ordering
fn cmp(&self, other: &QuicConfig) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for QuicConfig
impl PartialEq for QuicConfig
Source§impl PartialOrd for QuicConfig
impl PartialOrd for QuicConfig
Source§impl Serialize for QuicConfig
impl Serialize for QuicConfig
impl Eq for QuicConfig
impl StructuralPartialEq for QuicConfig
Auto Trait Implementations§
impl Freeze for QuicConfig
impl RefUnwindSafe for QuicConfig
impl Send for QuicConfig
impl Sync for QuicConfig
impl Unpin for QuicConfig
impl UnwindSafe for QuicConfig
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