[−][src]Struct rsocket_rust_transport_tcp::TcpClientTransport
Trait Implementations
impl Debug for TcpClientTransport
[src]
impl<'_> From<&'_ str> for TcpClientTransport
[src]
pub fn from(addr: &str) -> TcpClientTransport
[src]
impl From<SocketAddr> for TcpClientTransport
[src]
pub fn from(addr: SocketAddr) -> TcpClientTransport
[src]
impl From<String> for TcpClientTransport
[src]
impl From<TcpStream> for TcpClientTransport
[src]
pub fn from(socket: TcpStream) -> TcpClientTransport
[src]
impl Transport for TcpClientTransport
[src]
type Conn = TcpConnection
pub fn connect<'async_trait>(
self
) -> Pin<Box<dyn Future<Output = Result<TcpConnection>> + Send + 'async_trait>> where
Self: 'async_trait,
[src]
self
) -> Pin<Box<dyn Future<Output = Result<TcpConnection>> + Send + 'async_trait>> where
Self: 'async_trait,
Auto Trait Implementations
impl !RefUnwindSafe for TcpClientTransport
[src]
impl Send for TcpClientTransport
[src]
impl Sync for TcpClientTransport
[src]
impl Unpin for TcpClientTransport
[src]
impl !UnwindSafe for TcpClientTransport
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,