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