pub struct Driver { /* private fields */ }Expand description
Low-level driver of polling.
Implementations§
Trait Implementations§
Source§impl Reactor for Driver
impl Reactor for Driver
fn tcp_connect(&self, addr: SocketAddr, cfg: SharedCfg) -> Receiver<Io> ⓘ
fn unix_connect(&self, addr: PathBuf, cfg: SharedCfg) -> Receiver<Io> ⓘ
Source§fn from_tcp_stream(&self, stream: TcpStream, cfg: SharedCfg) -> Result<Io>
fn from_tcp_stream(&self, stream: TcpStream, cfg: SharedCfg) -> Result<Io>
Convert std TcpStream to Io
Source§fn from_unix_stream(&self, stream: OsUnixStream, cfg: SharedCfg) -> Result<Io>
fn from_unix_stream(&self, stream: OsUnixStream, cfg: SharedCfg) -> Result<Io>
Convert std UnixStream to Io
Auto Trait Implementations§
impl !Freeze for Driver
impl !RefUnwindSafe for Driver
impl !Send for Driver
impl !Sync for Driver
impl Unpin for Driver
impl !UnwindSafe for Driver
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more