Skip to main content

SupportedPathBuilder

Trait SupportedPathBuilder 

Source
pub trait SupportedPathBuilder: PathBuilder {
    // Required method
    fn get_path_builder_input<C>(client: &Client<C>) -> Self::Input<'_>;
}
Available on crate feature client-api only.
Expand description

Marker trait to identify PathBuilder implementors that the Client supports.

This trait can be implemented for custom PathBuilders if necessary.

Required Methods§

Source

fn get_path_builder_input<C>(client: &Client<C>) -> Self::Input<'_>

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.

Implementations on Foreign Types§

Source§

impl SupportedPathBuilder for SinglePath

Source§

fn get_path_builder_input<C>(_client: &Client<C>) -> Self::Input<'_>

Source§

impl SupportedPathBuilder for VersionHistory

Source§

fn get_path_builder_input<C>(client: &Client<C>) -> Self::Input<'_>

Implementors§