fidl_fuchsia_net_stackTrait StackProxyInterface
Source pub trait StackProxyInterface: Send + Sync {
type AddForwardingEntryResponseFut: Future<Output = Result<StackAddForwardingEntryResult, Error>> + Send;
type DelForwardingEntryResponseFut: Future<Output = Result<StackDelForwardingEntryResult, Error>> + Send;
type SetDhcpClientEnabledResponseFut: Future<Output = Result<StackSetDhcpClientEnabledResult, Error>> + Send;
// Required methods
fn add_forwarding_entry(
&self,
entry: &ForwardingEntry,
) -> Self::AddForwardingEntryResponseFut;
fn del_forwarding_entry(
&self,
entry: &ForwardingEntry,
) -> Self::DelForwardingEntryResponseFut;
fn set_dhcp_client_enabled(
&self,
id: u64,
enable: bool,
) -> Self::SetDhcpClientEnabledResponseFut;
fn bridge_interfaces(
&self,
interfaces: &[u64],
bridge: ServerEnd<ControlMarker>,
) -> Result<(), Error>;
}