Struct salvo::JoinedListener [−][src]
pub struct JoinedListener<A, B> { /* fields omitted */ }
Expand description
JoinedListener
Trait Implementations
The connection type that can be accepted.
pub fn poll_accept(
self: Pin<&mut JoinedListener<A, B>>,
cx: &mut Context<'_>
) -> Poll<Option<Result<<JoinedListener<A, B> as Accept>::Conn, <JoinedListener<A, B> as Accept>::Error>>>
pub fn poll_accept(
self: Pin<&mut JoinedListener<A, B>>,
cx: &mut Context<'_>
) -> Poll<Option<Result<<JoinedListener<A, B> as Accept>::Conn, <JoinedListener<A, B> as Accept>::Error>>>
Poll to accept the next connection.
Auto Trait Implementations
impl<A, B> RefUnwindSafe for JoinedListener<A, B> where
A: RefUnwindSafe,
B: RefUnwindSafe,
impl<A, B> Send for JoinedListener<A, B> where
A: Send,
B: Send,
impl<A, B> Sync for JoinedListener<A, B> where
A: Sync,
B: Sync,
impl<A, B> Unpin for JoinedListener<A, B> where
A: Unpin,
B: Unpin,
impl<A, B> UnwindSafe for JoinedListener<A, B> where
A: UnwindSafe,
B: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more