Trait tiberius::ToConnectEndpoint
[−]
[src]
pub trait ToConnectEndpoint<I, T> where
I: BoxableIo + Sized + 'static,
T: ToIo<I>, { fn to_connect_endpoint(self) -> TdsResult<ConnectEndpoint<I, T>>; }
Something that's able to construct all that's required to connect to an endpoint
This is for example implemented for a connection string parser
Required Methods
fn to_connect_endpoint(self) -> TdsResult<ConnectEndpoint<I, T>>
Implementations on Foreign Types
impl<I: 'static, T: ToIo<I>> ToConnectEndpoint<I, T> for (T, ConnectParams) where
I: BoxableIo,
[src]
I: BoxableIo,
fn to_connect_endpoint(self) -> TdsResult<ConnectEndpoint<I, T>>
[src]
impl<'a> ToConnectEndpoint<Box<BoxableIo>, DynamicConnectionTarget> for &'a str
[src]
Parse connection strings https://msdn.microsoft.com/de-de/library/system.data.sqlclient.sqlconnection.connectionstring(v=vs.110).aspx
fn to_connect_endpoint(
self
) -> TdsResult<ConnectEndpoint<Box<BoxableIo>, DynamicConnectionTarget>>
[src]
self
) -> TdsResult<ConnectEndpoint<Box<BoxableIo>, DynamicConnectionTarget>>