pub trait NodeExt: Node {
// Provided methods
fn query_service(
&self,
head: HeaderHash,
id: ServiceId,
) -> impl Future<Output = Result<(Service, CodeInfo<CrateInfo>), Error>> + Send { ... }
fn wait_for_sync(&self) -> impl Future<Output = Result<(), Error>> + Send { ... }
}Provided Methods§
fn query_service( &self, head: HeaderHash, id: ServiceId, ) -> impl Future<Output = Result<(Service, CodeInfo<CrateInfo>), Error>> + Send
fn wait_for_sync(&self) -> impl Future<Output = Result<(), Error>> + Send
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.