Trait radius::server::RequestHandler [−][src]
RequestHandler is a handler for the received RADIUS request.
Required methods
#[must_use]fn handle_radius_request<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
conn: &'life1 UdpSocket,
request: &'life2 Request
) -> Pin<Box<dyn Future<Output = Result<T, E>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
conn: &'life1 UdpSocket,
request: &'life2 Request
) -> Pin<Box<dyn Future<Output = Result<T, E>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
This method has to implement the core feature of the server application what you need.
Arguments
- conn - This connection is associated with the remote requester. In the most situations, you have to send a response through this connection object.
- request - This is a request object that comes from the remote requester.