pub trait PollableSocket: Socket {
    // Required methods
    fn poll_readable(&self, ctx: &mut Context<'_>) -> Poll<Result<(), EspError>>;
    fn poll_writable(&self, ctx: &mut Context<'_>) -> Poll<Result<(), EspError>>;
}

Required Methods§

source

fn poll_readable(&self, ctx: &mut Context<'_>) -> Poll<Result<(), EspError>>

source

fn poll_writable(&self, ctx: &mut Context<'_>) -> Poll<Result<(), EspError>>

Implementors§