Trait ppp_stream::Ext
source · [−]pub trait Ext {
fn remote_addr(self: Pin<&mut Self>) -> ProxyProtoFuture<'_, Self>ⓘNotable traits for ProxyProtoFuture<'a, T>impl<'a, T> Future for ProxyProtoFuture<'a, T> where
T: AsyncRead, type Output = Result<ProxyProtoStream<'a, T>, IoError>;;
fn remote_addr_unpin(&mut self) -> ProxyProtoFuture<'_, Self>ⓘNotable traits for ProxyProtoFuture<'a, T>impl<'a, T> Future for ProxyProtoFuture<'a, T> where
T: AsyncRead, type Output = Result<ProxyProtoStream<'a, T>, IoError>;
where
Self: Unpin;
}Required Methods
fn remote_addr(self: Pin<&mut Self>) -> ProxyProtoFuture<'_, Self>ⓘNotable traits for ProxyProtoFuture<'a, T>impl<'a, T> Future for ProxyProtoFuture<'a, T> where
T: AsyncRead, type Output = Result<ProxyProtoStream<'a, T>, IoError>;
T: AsyncRead, type Output = Result<ProxyProtoStream<'a, T>, IoError>;
fn remote_addr_unpin(&mut self) -> ProxyProtoFuture<'_, Self>ⓘNotable traits for ProxyProtoFuture<'a, T>impl<'a, T> Future for ProxyProtoFuture<'a, T> where
T: AsyncRead, type Output = Result<ProxyProtoStream<'a, T>, IoError>; where
Self: Unpin,
T: AsyncRead, type Output = Result<ProxyProtoStream<'a, T>, IoError>;