pub fn build(self) -> Result<IncomingConnection, quinn::EndpointError> {
        let mut endpoint_builder = quinn::Endpoint::builder();
        endpoint_builder.listen(self.config.build());

        let (_, incoming) = endpoint_builder.bind(&self.listen)?;

        Ok(IncomingConnection {
            incoming,
            settings: self.settings,
        })
    }
/// Create a new server with current configuration
///
/// 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 with current configuration
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 with current configuration 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 build(self) -> Result<IncomingConnection, quinn::EndpointError> {
        let mut endpoint_builder = quinn::Endpoint::builder();
        endpoint_builder.listen(self.config.build());
        let (_, incoming) = endpoint_builder.bind(&self.listen)?;
        Ok(IncomingConnection {
            incoming,
            settings: self.settings,
        })
    }
pub fn build ( self ) -> Result < IncomingConnection , quinn :: EndpointError > { let mut endpoint_builder = quinn :: Endpoint :: builder ( ) ; endpoint_builder . listen ( self . config . build ( ) ) ; let ( _ , incoming ) = endpoint_builder . bind ( & self . listen ) ? ; Ok ( IncomingConnection { incoming , settings : self . settings , } ) }
Create a new server with current configuration
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 with current configuration This method spawns two driver tasks for the ` QUIC ` and ` HTTP / 3 ` connections therefore it must be called from within a tokio runtime context .
self