Skip to main content

FederationProvider

Trait FederationProvider 

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

Required Methods§

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 Eq for dyn FederationProvider

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 (const: unstable) · Source§

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

Inequality operator !=. Read more

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§