pub trait PullSourceProxyInterface: Send + Sync {
type SampleResponseFut: Future<Output = Result<PullSourceSampleResult, Error>> + Send;
type NextPossibleSampleTimeResponseFut: Future<Output = Result<i64, Error>> + Send;
// Required methods
fn update_device_properties(
&self,
properties: &Properties,
) -> Result<(), Error>;
fn sample(&self, urgency: Urgency) -> Self::SampleResponseFut;
fn next_possible_sample_time(
&self,
) -> Self::NextPossibleSampleTimeResponseFut;
}