fidl_fuchsia_net_dhcpTrait Server_ProxyInterface
Source pub trait Server_ProxyInterface: Send + Sync {
type StartServingResponseFut: Future<Output = Result<ServerStartServingResult, Error>> + Send;
type StopServingResponseFut: Future<Output = Result<(), Error>> + Send;
type IsServingResponseFut: Future<Output = Result<bool, Error>> + Send;
type GetOptionResponseFut: Future<Output = Result<ServerGetOptionResult, Error>> + Send;
type GetParameterResponseFut: Future<Output = Result<ServerGetParameterResult, Error>> + Send;
type SetOptionResponseFut: Future<Output = Result<ServerSetOptionResult, Error>> + Send;
type SetParameterResponseFut: Future<Output = Result<ServerSetParameterResult, Error>> + Send;
type ListOptionsResponseFut: Future<Output = Result<ServerListOptionsResult, Error>> + Send;
type ListParametersResponseFut: Future<Output = Result<ServerListParametersResult, Error>> + Send;
type ResetOptionsResponseFut: Future<Output = Result<ServerResetOptionsResult, Error>> + Send;
type ResetParametersResponseFut: Future<Output = Result<ServerResetParametersResult, Error>> + Send;
type ClearLeasesResponseFut: Future<Output = Result<ServerClearLeasesResult, Error>> + Send;
// Required methods
fn start_serving(&self) -> Self::StartServingResponseFut;
fn stop_serving(&self) -> Self::StopServingResponseFut;
fn is_serving(&self) -> Self::IsServingResponseFut;
fn get_option(&self, code: OptionCode) -> Self::GetOptionResponseFut;
fn get_parameter(
&self,
name: ParameterName,
) -> Self::GetParameterResponseFut;
fn set_option(&self, value: &Option_) -> Self::SetOptionResponseFut;
fn set_parameter(&self, value: &Parameter) -> Self::SetParameterResponseFut;
fn list_options(&self) -> Self::ListOptionsResponseFut;
fn list_parameters(&self) -> Self::ListParametersResponseFut;
fn reset_options(&self) -> Self::ResetOptionsResponseFut;
fn reset_parameters(&self) -> Self::ResetParametersResponseFut;
fn clear_leases(&self) -> Self::ClearLeasesResponseFut;
}