pub trait FederationProvider: Send + Sync {
    // Required methods
    fn name(&self) -> &str;
    fn compute_context(&self) -> Option<String>;
    fn analyzer(&self) -> Option<Arc<Analyzer>>;
}

Required Methods§

source

fn name(&self) -> &str

source

fn compute_context(&self) -> Option<String>

source

fn analyzer(&self) -> Option<Arc<Analyzer>>

Trait Implementations§

source§

impl Display for dyn FederationProvider

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Hash for dyn FederationProvider

source§

fn hash<H: Hasher>(&self, state: &mut H)

Feeds this value into the given Hasher. Read more
source§

impl PartialEq for dyn FederationProvider

source§

fn eq(&self, other: &dyn FederationProvider) -> bool

Comparing name, args and return_type

1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Eq for dyn FederationProvider

Implementors§