Trait fbthrift_git::ClientFactory
source · pub trait ClientFactory {
type Api: ?Sized;
fn with_spawner<P, T, S>(
protocol: P,
transport: T,
spawner: S
) -> Arc<Self::Api>
where
P: Protocol<Frame = T> + 'static,
T: Transport,
P::Deserializer: Send,
S: Spawner;
fn new<P, T>(protocol: P, transport: T) -> Arc<Self::Api>
where
P: Protocol<Frame = T> + 'static,
T: Transport,
P::Deserializer: Send,
{ ... }
}