pub trait BondingDelegateProxyInterface: Send + Sync {
type RestoreBondsResponseFut: Future<Output = Result<Vec<BondingData>, Error>> + Send;
type WatchBondsResponseFut: Future<Output = Result<BondingDelegateWatchBondsResponse, Error>> + Send;
// Required methods
fn restore_bonds(
&self,
bonds: &[BondingData],
) -> Self::RestoreBondsResponseFut;
fn watch_bonds(&self) -> Self::WatchBondsResponseFut;
}Required Associated Types§
type RestoreBondsResponseFut: Future<Output = Result<Vec<BondingData>, Error>> + Send
type WatchBondsResponseFut: Future<Output = Result<BondingDelegateWatchBondsResponse, Error>> + Send
Required Methods§
fn restore_bonds(&self, bonds: &[BondingData]) -> Self::RestoreBondsResponseFut
fn watch_bonds(&self) -> Self::WatchBondsResponseFut
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".