Trait thingvellir::UpstreamFactory[][src]

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

Associated Types

Loading content...

Required methods

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

Loading content...

Implementors

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

type Upstream = Self

Loading content...