Skip to main content

StackProxyInterface

Trait StackProxyInterface 

Source
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§

Required Methods§

Source

fn set_dhcp_client_enabled( &self, id: u64, enable: bool, ) -> Self::SetDhcpClientEnabledResponseFut

Source

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".

Implementors§