pub trait SelectStaticCall<Q, Then, Else, Output> {
// Required method
fn call() -> Output;
}Expand description
Call a static method based on capability selection.
This trait enables calling StaticMethodImpl::call() through type-level selection
without requiring the caller to prove that SelectCap::Out implements StaticMethodImpl.
Then and Else must implement StaticMethodImpl<Output>.
Required Methods§
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.