Trait PropRouteable

Source
pub trait PropRouteable: Sized {
    type Property: ?Sized;

    // Required method
    fn get_route(prop: &Self::Property) -> Route;
}
Expand description

A trait representing a weaker variant of GetFetchProp; only indicates the fetching route can be obtained by the get_route method by specifying a property, not that such property is obtainable. Note that all GetFetchProp implementers also implement PropRouteable, thanks to a blanket impl.

Required Associated Types§

Required Methods§

Source

fn get_route(prop: &Self::Property) -> Route

Obtain the route for fetching by using a property.

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§