[−][src]Trait async_tftp::server::Handler
Trait for implementing advance handlers.
Associated Types
Loading content...Required methods
fn read_req_open<'life0, 'life1, 'life2, 'async_trait>(
&'life0 mut self,
client: &'life1 SocketAddr,
path: &'life2 Path
) -> Pin<Box<dyn Future<Output = Result<(Self::Reader, Option<u64>), Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
&'life0 mut self,
client: &'life1 SocketAddr,
path: &'life2 Path
) -> Pin<Box<dyn Future<Output = Result<(Self::Reader, Option<u64>), Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
Open Reader
to serve a read request.
Implementors
impl Handler for DirRoHandler
[src]
type Reader = File
fn read_req_open<'life0, 'life1, 'life2, 'async_trait>(
&'life0 mut self,
_client: &'life1 SocketAddr,
path: &'life2 Path
) -> Pin<Box<dyn Future<Output = Result<(Self::Reader, Option<u64>), Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
[src]
&'life0 mut self,
_client: &'life1 SocketAddr,
path: &'life2 Path
) -> Pin<Box<dyn Future<Output = Result<(Self::Reader, Option<u64>), Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,