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§
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
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".