pub struct ServerBuilder { /* private fields */ }
Expand description
A builder-pattern type to construct Server
objects.
Implementations§
Source§impl ServerBuilder
impl ServerBuilder
pub fn raw_paths(self, raw_paths: bool) -> Self
pub fn server_header(self, server_header: impl Into<GString>) -> Self
pub fn tls_auth_mode(self, tls_auth_mode: TlsAuthenticationMode) -> Self
pub fn tls_certificate(self, tls_certificate: &impl IsA<TlsCertificate>) -> Self
pub fn tls_database(self, tls_database: &impl IsA<TlsDatabase>) -> Self
Auto Trait Implementations§
impl Freeze for ServerBuilder
impl RefUnwindSafe for ServerBuilder
impl !Send for ServerBuilder
impl !Sync for ServerBuilder
impl Unpin for ServerBuilder
impl UnwindSafe for ServerBuilder
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