pub fn endpoint(
        self,
        endpoint: EndpointBuilder,
    ) -> Result<IncomingConnection, quinn::EndpointError> {
        let (_, incoming) = endpoint.bind(&self.listen)?;

        Ok(IncomingConnection {
            incoming,
            settings: self.settings,
        })
    }
/// Create a new server from an existing QUIC endpoint configuration
///
/// Take full control over the underlying QUIC configuration. This is
/// useful for supporting multiple protocols, or setting a custom crypto
/// configuration.
///
/// If [listen()](struct.Builder.html#method.listen) has never been called,
/// the binding address defaults to `[::]:443`.
///
/// This method spawns two driver tasks, for the `QUIC` and `HTTP/3` connections,
/// therefore it must be called from within a tokio runtime context.
Create a new server from an existing QUIC endpoint configuration
Take full control over the underlying QUIC configuration. This is
useful for supporting multiple protocols, or setting a custom crypto
configuration.

If [listen()](struct.Builder.html#method.listen) has never been called,
the binding address defaults to `[::]:443`.

This method spawns two driver tasks, for the `QUIC` and `HTTP/3` connections,
therefore it must be called from within a tokio runtime context.
Create a new server from an existing QUIC endpoint configuration Take full control over the underlying QUIC configuration . This is useful for supporting multiple protocols or setting a custom crypto configuration . If [ listen () ] ( struct . Builder . html#method . listen ) has never been called the binding address defaults to ` [ :: ] : 443 ` . This method spawns two driver tasks for the ` QUIC ` and ` HTTP / 3 ` connections therefore it must be called from within a tokio runtime context .
pub fn endpoint(
        self,
        endpoint: EndpointBuilder,
    ) -> Result<IncomingConnection, quinn::EndpointError> {
        let (_, incoming) = endpoint.bind(&self.listen)?;
        Ok(IncomingConnection {
            incoming,
            settings: self.settings,
        })
    }
pub fn endpoint ( self , endpoint : EndpointBuilder , ) -> Result < IncomingConnection , quinn :: EndpointError > { let ( _ , incoming ) = endpoint . bind ( & self . listen ) ? ; Ok ( IncomingConnection { incoming , settings : self . settings , } ) }
Create a new server from an existing QUIC endpoint configuration
Take full control over the underlying QUIC configuration.
Create a new server from an existing QUIC endpoint configuration Take full control over the underlying QUIC configuration .
self
endpoint
EndpointBuilder