Skip to main content

HostNameSubscriptionListenerProxyInterface

Trait HostNameSubscriptionListenerProxyInterface 

Source
pub trait HostNameSubscriptionListenerProxyInterface: Send + Sync {
    type OnAddressesChangedResponseFut: Future<Output = Result<(), Error>> + Send;

    // Required method
    fn on_addresses_changed(
        &self,
        addresses: &[HostAddress],
    ) -> Self::OnAddressesChangedResponseFut;
}

Required Associated Types§

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§