pub trait Fetch {
// Required method
fn fetch<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait, FA>(
&'life0 self,
interface_name: &'life1 str,
host: &'life2 str,
path: &'life3 str,
addr: &'life4 FA,
) -> Pin<Box<dyn Future<Output = Option<u16>> + Send + 'async_trait>>
where FA: 'async_trait + FetchAddr + Sync,
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
'life4: 'async_trait;
}
Required Methods§
fn fetch<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait, FA>( &'life0 self, interface_name: &'life1 str, host: &'life2 str, path: &'life3 str, addr: &'life4 FA, ) -> Pin<Box<dyn Future<Output = Option<u16>> + Send + 'async_trait>>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.