fn has_api_with<A: RuntimeApiInfo + ?Sized, P: Fn(u32) -> bool>(
		&self,
		at: &BlockId<Block>,
		pred: P,
	) -> error::Result<bool> where Self: Sized {
		self.runtime_version_at(at).map(|v| v.has_api_with::<A, _>(pred))
	}
/// Check if the given api is implemented and the version passes a predicate.
Check if the given api is implemented and the version passes a predicate.
Check if the given api is implemented and the version passes a predicate .
fn has_api_with<A: RuntimeApiInfo + ?Sized, P: Fn(u32) -> bool>(
		&self,
		at: &BlockId<Block>,
		pred: P,
	) -> error::Result<bool> where Self: Sized {
		self.runtime_version_at(at).map(|v| v.has_api_with::<A, _>(pred))
	}
fn has_api_with < A : RuntimeApiInfo + ? Sized , P : Fn ( u32 ) -> bool > ( & self , at : & BlockId < Block > , pred : P , ) -> error :: Result < bool > where Self : Sized { self . runtime_version_at ( at ) . map ( | v | v . has_api_with :: < A , _ > ( pred ) ) }
Check if the given api is implemented and the version passes a predicate.
Check if the given api is implemented and the version passes a predicate .
&self
at
&BlockId<Block>
pred
P
&self
at
&BlockId<Block>
pred
P