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;
}

Required Associated Types§

Required Methods§

Implementors§

source§

impl Server_ProxyInterface for Server_Proxy

§

type StartServingResponseFut = QueryResponseFut<Result<(), i32>>

§

type StopServingResponseFut = QueryResponseFut<()>

§

type IsServingResponseFut = QueryResponseFut<bool>

§

type GetOptionResponseFut = QueryResponseFut<Result<Option_, i32>>

§

type GetParameterResponseFut = QueryResponseFut<Result<Parameter, i32>>

§

type SetOptionResponseFut = QueryResponseFut<Result<(), i32>>

§

type SetParameterResponseFut = QueryResponseFut<Result<(), i32>>

§

type ListOptionsResponseFut = QueryResponseFut<Result<Vec<Option_>, i32>>

§

type ListParametersResponseFut = QueryResponseFut<Result<Vec<Parameter>, i32>>

§

type ResetOptionsResponseFut = QueryResponseFut<Result<(), i32>>

§

type ResetParametersResponseFut = QueryResponseFut<Result<(), i32>>

§

type ClearLeasesResponseFut = QueryResponseFut<Result<(), i32>>