Struct salvo::prelude::AcmeListener
source · pub struct AcmeListener { /* private fields */ }
Expand description
A wrapper around an underlying listener which implements the ACME.
Implementations§
source§impl AcmeListener
impl AcmeListener
sourcepub fn builder() -> AcmeListenerBuilder
pub fn builder() -> AcmeListenerBuilder
Create AcmeListenerBuilder
Trait Implementations§
source§impl Accept for AcmeListener
impl Accept for AcmeListener
§type Conn = AcmeStream
type Conn = AcmeStream
The connection type that can be accepted.
source§fn poll_accept(
self: Pin<&mut AcmeListener>,
cx: &mut Context<'_>
) -> Poll<Option<Result<<AcmeListener as Accept>::Conn, <AcmeListener as Accept>::Error>>>
fn poll_accept(
self: Pin<&mut AcmeListener>,
cx: &mut Context<'_>
) -> Poll<Option<Result<<AcmeListener as Accept>::Conn, <AcmeListener as Accept>::Error>>>
Poll to accept the next connection.
source§impl Listener for AcmeListener
impl Listener for AcmeListener
source§fn join<T>(self, other: T) -> JoinedListener<Self, T>where
Self: Sized,
fn join<T>(self, other: T) -> JoinedListener<Self, T>where
Self: Sized,
Join current Listener with the other.