pub trait HostCallTargetInterface: Send {
// Required methods
fn new(
&mut self,
namespace: String,
package: String,
interface: String,
) -> impl Future<Output = Result<Resource<CallTargetInterface>>> + Send;
fn drop(
&mut self,
rep: Resource<CallTargetInterface>,
) -> impl Future<Output = Result<()>> + Send;
}Required Methods§
fn new( &mut self, namespace: String, package: String, interface: String, ) -> impl Future<Output = Result<Resource<CallTargetInterface>>> + Send
fn drop( &mut self, rep: Resource<CallTargetInterface>, ) -> impl Future<Output = Result<()>> + Send
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.