pub trait JQuantsBuilder<R: DeserializeOwned + Debug> {
// Required methods
fn send(self) -> impl Future<Output = Result<R, JQuantsError>>;
fn send_ref(&self) -> impl Future<Output = Result<R, JQuantsError>>;
}
Expand description
Trait for API builders.
Required Methods§
Sourcefn send(self) -> impl Future<Output = Result<R, JQuantsError>>
fn send(self) -> impl Future<Output = Result<R, JQuantsError>>
Send the request.
Sourcefn send_ref(&self) -> impl Future<Output = Result<R, JQuantsError>>
fn send_ref(&self) -> impl Future<Output = Result<R, JQuantsError>>
Send the request without consuming ownership. Use only when reusing the builder.
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.