pub trait JoinInput {
type Chain: Chain;
type Handler;
// Required methods
fn futures_crate_path(&self) -> Option<&Path>;
fn branches(&self) -> &[Self::Chain];
fn handler(&self) -> Option<&Self::Handler>;
fn joiner(&self) -> Option<&TokenStream>;
fn transpose_results_option(&self) -> Option<bool>;
fn lazy_branches_option(&self) -> Option<bool>;
}Expand description
Result of parsing join! macro input in trait form.
Required Associated Types§
Required Methods§
Sourcefn futures_crate_path(&self) -> Option<&Path>
fn futures_crate_path(&self) -> Option<&Path>
Returns custom futures_crate_path taken from macro input if exists.
Sourcefn branches(&self) -> &[Self::Chain]
fn branches(&self) -> &[Self::Chain]
Returns branches, each of branches is an object implemented Chain trait.
Sourcefn joiner(&self) -> Option<&TokenStream>
fn joiner(&self) -> Option<&TokenStream>
Returns custom joiner if exists.
Sourcefn transpose_results_option(&self) -> Option<bool>
fn transpose_results_option(&self) -> Option<bool>
Returns transpose results configuration if specified.
Sourcefn lazy_branches_option(&self) -> Option<bool>
fn lazy_branches_option(&self) -> Option<bool>
Returns lazy branches configuration if provided.