Struct tarantool::coio::CoIOListener
source · pub struct CoIOListener { /* private fields */ }
Expand description
Uses CoIO main loop to poll incoming connections from wrapped socket listener
Implementations§
source§impl CoIOListener
impl CoIOListener
sourcepub fn accept(&self) -> Result<CoIOStream, Error>
pub fn accept(&self) -> Result<CoIOStream, Error>
Accept a new incoming connection from this listener.
pub fn inner_listener(&mut self) -> &mut TcpListener
Trait Implementations§
source§impl TryFrom<TcpListener> for CoIOListener
impl TryFrom<TcpListener> for CoIOListener
Auto Trait Implementations§
impl RefUnwindSafe for CoIOListener
impl Send for CoIOListener
impl Sync for CoIOListener
impl Unpin for CoIOListener
impl UnwindSafe for CoIOListener
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