pub trait HostNameSubscriberProxyInterface: Send + Sync {
// Required method
fn subscribe_to_host_name(
&self,
host: &str,
options: &HostNameSubscriptionOptions,
listener: ClientEnd<HostNameSubscriptionListenerMarker>,
) -> Result<(), Error>;
}Required Methods§
fn subscribe_to_host_name( &self, host: &str, options: &HostNameSubscriptionOptions, listener: ClientEnd<HostNameSubscriptionListenerMarker>, ) -> Result<(), Error>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".