Trait thrift_pool::MakeThriftConnection [−][src]
pub trait MakeThriftConnection {
type Error;
type Output;
fn make_thrift_connection(&self) -> Result<Self::Output, Self::Error>;
}Expand description
A trait that creates new ThriftConnections
Used by ThriftConnectionManager to implement
[bb8::ManageConnection::connect]
and/or r2d2::ManageConnection::connect
Associated Types
Required methods
fn make_thrift_connection(&self) -> Result<Self::Output, Self::Error>
fn make_thrift_connection(&self) -> Result<Self::Output, Self::Error>
Attempt to create a new connection
