[][src]Trait udp_hole_punching::client::cache_send::SendCacheTask

pub trait SendCacheTask {
    pub fn clear_timeout(&self);
#[must_use] pub fn resend<'life0, 'life1, 'async_trait>(
        &'life0 self,
        addr: SocketAddr,
        pac: &'life1 Packet
    ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; }

Required methods

pub fn clear_timeout(&self)[src]

#[must_use]pub fn resend<'life0, 'life1, 'async_trait>(
    &'life0 self,
    addr: SocketAddr,
    pac: &'life1 Packet
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    'life1: 'async_trait,
    Self: 'async_trait, 
[src]

Loading content...

Implementors

impl SendCacheTask for Cache[src]

Loading content...