pub struct QuicConfig {
pub ep: Endpoint,
pub client_config: ClientConfig,
pub ipv4: bool,
pub ipv6: bool,
}Expand description
Pieces needed to do QUIC address discovery.
Fields§
§ep: EndpointA QUIC Endpoint
client_config: ClientConfigA client config.
ipv4: boolEnable ipv4 QUIC address discovery probes
ipv6: boolEnable ipv6 QUIC address discovery probes
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 moreAuto 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§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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