pub trait QueryControllerWeightInfo {
// Required methods
fn query() -> Weight;
fn take_response() -> Weight;
}
Expand description
Weight functions needed for QueryController
.
Required Methods§
Sourcefn query() -> Weight
fn query() -> Weight
Weight for QueryController::query
Sourcefn take_response() -> Weight
fn take_response() -> Weight
Weight for QueryHandler::take_response
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.