pub struct AsyncListener<S> { /* private fields */ }
Implementations§
Source§impl<S> AsyncListener<S>
impl<S> AsyncListener<S>
pub async fn accept(&mut self) -> Result<AsyncChannel<S>, Error>
Auto Trait Implementations§
impl<S> Freeze for AsyncListener<S>
impl<S> !RefUnwindSafe for AsyncListener<S>
impl<S> Send for AsyncListener<S>
impl<S> Sync for AsyncListener<S>
impl<S> Unpin for AsyncListener<S>
impl<S> !UnwindSafe for AsyncListener<S>
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