pub trait StackProxyInterface: Send + Sync {
type SetDhcpClientEnabledResponseFut: Future<Output = Result<StackSetDhcpClientEnabledResult, Error>> + Send;
// Required methods
fn set_dhcp_client_enabled(
&self,
id: u64,
enable: bool,
) -> Self::SetDhcpClientEnabledResponseFut;
fn bridge_interfaces(
&self,
interfaces: &[u64],
bridge: ServerEnd<ControlMarker>,
) -> Result<(), Error>;
}Required Associated Types§
type SetDhcpClientEnabledResponseFut: Future<Output = Result<StackSetDhcpClientEnabledResult, Error>> + Send
Required Methods§
fn set_dhcp_client_enabled( &self, id: u64, enable: bool, ) -> Self::SetDhcpClientEnabledResponseFut
fn bridge_interfaces( &self, interfaces: &[u64], bridge: ServerEnd<ControlMarker>, ) -> Result<(), Error>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".