pub trait PublicationResponder_ProxyInterface: Send + Sync {
    type OnPublicationResponseFut: Future<Output = Result<Option<Box<Publication>>, Error>> + Send;

    // Required method
    fn on_publication(
        &self,
        publication_cause: PublicationCause,
        subtype: Option<&str>,
        source_addresses: &[IpAddress]
    ) -> Self::OnPublicationResponseFut;
}

Required Associated Types§

Required Methods§

source

fn on_publication( &self, publication_cause: PublicationCause, subtype: Option<&str>, source_addresses: &[IpAddress] ) -> Self::OnPublicationResponseFut

Implementors§