pub trait Strategy {
    type Type;

    fn method(&self) -> Method;
    fn execute(&self) -> Self::Type;
}

Required Associated Types

Type of data being returned.

Required Methods

HTTP method.

Execute the Strategy.

Implementors