TripPointProxyInterface

Trait TripPointProxyInterface 

Source
pub trait TripPointProxyInterface: Send + Sync {
    type GetTripPointDescriptorsResponseFut: Future<Output = Result<TripPointGetTripPointDescriptorsResult, Error>> + Send;
    type SetTripPointsResponseFut: Future<Output = Result<TripPointSetTripPointsResult, Error>> + Send;
    type WaitForAnyTripPointResponseFut: Future<Output = Result<TripPointWaitForAnyTripPointResult, Error>> + Send;

    // Required methods
    fn get_trip_point_descriptors(
        &self,
    ) -> Self::GetTripPointDescriptorsResponseFut;
    fn set_trip_points(
        &self,
        descriptors: &[TripPointDescriptor],
    ) -> Self::SetTripPointsResponseFut;
    fn wait_for_any_trip_point(&self) -> Self::WaitForAnyTripPointResponseFut;
}

Required Associated Types§

Required Methods§

Implementors§