pub trait EndpointParamsInitial<E>: EndpointParamswhere
E: Endpoint,{
type State;
// Required method
fn initial(client: &Client) -> EndpointRequestBuilder<'_, E, Self::State>;
}Expand description
Creates the initial EndpointRequestBuilder for client.call::<E>().
Required Associated Types§
Sourcetype State
type State
Type-state after Client::call.
Required Methods§
fn initial(client: &Client) -> EndpointRequestBuilder<'_, E, Self::State>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".