pub trait EnergyScanResultStreamProxyInterface: Send + Sync {
type NextResponseFut: Future<Output = Result<Vec<EnergyScanResult>, Error>> + Send;
// Required method
fn next(&self) -> Self::NextResponseFut;
}Required Associated Types§
type NextResponseFut: Future<Output = Result<Vec<EnergyScanResult>, Error>> + Send
Required Methods§
fn next(&self) -> Self::NextResponseFut
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".