Struct ppp_stream::ProxyProtoStream
source · [−]pub struct ProxyProtoStream<'a, T> {
pub addr: Addresses,
/* private fields */
}Fields
addr: AddressesImplementations
Trait Implementations
sourceimpl<'a, T> AsyncRead for ProxyProtoStream<'a, T> where
T: AsyncRead,
impl<'a, T> AsyncRead for ProxyProtoStream<'a, T> where
T: AsyncRead,
sourceimpl<'a, T: Debug> Debug for ProxyProtoStream<'a, T>
impl<'a, T: Debug> Debug for ProxyProtoStream<'a, T>
impl<'a, T> Unpin for ProxyProtoStream<'a, T>
Auto Trait Implementations
impl<'a, T> RefUnwindSafe for ProxyProtoStream<'a, T> where
T: RefUnwindSafe,
impl<'a, T> Send for ProxyProtoStream<'a, T> where
T: Send,
impl<'a, T> Sync for ProxyProtoStream<'a, T> where
T: Sync,
impl<'a, T> !UnwindSafe for ProxyProtoStream<'a, T>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Ext for T where
T: AsyncRead,
impl<T> Ext for T where
T: AsyncRead,
fn remote_addr(self: Pin<&mut T>) -> ProxyProtoFuture<'_, T>ⓘ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<'_, T>ⓘ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
T: Unpin,
T: AsyncRead, type Output = Result<ProxyProtoStream<'a, T>, IoError>;