[][src]Trait thingvellir::UpstreamFactory

pub trait UpstreamFactory<Key, Data: ServiceData> {
    type Upstream: LoadFromUpstream<Key, Data>;
    fn create(&mut self) -> Self::Upstream;
}

Associated Types

type Upstream: LoadFromUpstream<Key, Data>

Loading content...

Required methods

fn create(&mut self) -> Self::Upstream

Loading content...

Implementors

impl<Key, Data: ServiceData, T: Clone + LoadFromUpstream<Key, Data>> UpstreamFactory<Key, Data> for T[src]

type Upstream = Self

Loading content...