pub struct MappedListener<L, F, T, U>{ /* private fields */ }
Expand description
Implementations§
Trait Implementations§
Source§impl<L, F, T, U> Listener for MappedListener<L, F, T, U>
impl<L, F, T, U> Listener for MappedListener<L, F, T, U>
Source§fn accept<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<Self::Output>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn accept<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<Self::Output>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Waits for the next fully-initialized transport for an incoming stream to be available, returning an error if no longer accepting new connections
type Output = U
Auto Trait Implementations§
impl<L, F, T, U> Freeze for MappedListener<L, F, T, U>
impl<L, F, T, U> RefUnwindSafe for MappedListener<L, F, T, U>where
L: RefUnwindSafe,
F: RefUnwindSafe,
impl<L, F, T, U> Send for MappedListener<L, F, T, U>
impl<L, F, T, U> Sync for MappedListener<L, F, T, U>
impl<L, F, T, U> Unpin for MappedListener<L, F, T, U>
impl<L, F, T, U> UnwindSafe for MappedListener<L, F, T, U>where
L: UnwindSafe,
F: UnwindSafe,
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