Skip to main content

Ext

Trait Ext 

Source
pub trait Ext {
    // Required methods
    fn remote_addr_owned(self) -> PPPFuture<Self> 
       where Self: Sized;
    fn remote_addr(self: Pin<&mut Self>) -> PPPRefFuture<'_, Self> ;
    fn remote_addr_unpin(&mut self) -> PPPRefFuture<'_, Self> 
       where Self: Unpin;
}

Required Methods§

Source

fn remote_addr_owned(self) -> PPPFuture<Self>
where Self: Sized,

Source

fn remote_addr(self: Pin<&mut Self>) -> PPPRefFuture<'_, Self>

Source

fn remote_addr_unpin(&mut self) -> PPPRefFuture<'_, Self>
where Self: Unpin,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<T> Ext for T
where T: AsyncRead,