Trait reachability_core::fetch::Fetch
source · 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<u8>> + 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<u8>> + Send + 'async_trait>>
Object Safety§
This trait is not object safe.