Struct sozu_lib::https::HttpsListener
source · pub struct HttpsListener { /* private fields */ }Implementations§
source§impl HttpsListener
impl HttpsListener
pub fn try_new( config: HttpsListenerConfig, token: Token ) -> Result<HttpsListener, ListenerError>
pub fn activate( &mut self, registry: &Registry, tcp_listener: Option<MioTcpListener> ) -> Result<Token>
pub fn create_rustls_context( config: &HttpsListenerConfig, resolver: Arc<MutexWrappedCertificateResolver> ) -> Result<ServerConfig, ListenerError>
pub fn add_https_front(&mut self, tls_front: HttpFrontend) -> Result<()>
pub fn remove_https_front(&mut self, tls_front: HttpFrontend) -> Result<()>
Trait Implementations§
source§impl CertificateResolver for HttpsListener
impl CertificateResolver for HttpsListener
type Error = ListenerError
fn get_certificate( &self, fingerprint: &Fingerprint ) -> Option<ParsedCertificateAndKey>
fn add_certificate( &mut self, opts: &AddCertificate ) -> Result<Fingerprint, Self::Error>
fn remove_certificate( &mut self, fingerprint: &Fingerprint ) -> Result<(), Self::Error>
fn replace_certificate( &mut self, opts: &ReplaceCertificate ) -> Result<Fingerprint, Self::Error>
source§impl L7ListenerHandler for HttpsListener
impl L7ListenerHandler for HttpsListener
source§impl ListenerHandler for HttpsListener
impl ListenerHandler for HttpsListener
fn get_addr(&self) -> &StdSocketAddr
Auto Trait Implementations§
impl !RefUnwindSafe for HttpsListener
impl !Send for HttpsListener
impl !Sync for HttpsListener
impl Unpin for HttpsListener
impl !UnwindSafe for HttpsListener
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere T: 'a,
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