Skip to main content

SupportedPathBuilder

Trait SupportedPathBuilder 

Source
pub trait SupportedPathBuilder: PathBuilder {
    // Required method
    fn get_path_builder_input(
        client: &Client,
        skip_auth: bool,
    ) -> impl Future<Output = HttpResult<Self::Input<'static>>> + SendOutsideWasm;
}
Expand description

Marker trait to identify the path builders that the Client supports.

This trait can also be implemented for custom PathBuilders if necessary.

Required Methods§

Source

fn get_path_builder_input( client: &Client, skip_auth: bool, ) -> impl Future<Output = HttpResult<Self::Input<'static>>> + SendOutsideWasm

Get the PathBuilder::Input from the Client.

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.

Implementors§