Struct busybee::ServerOptions
source · pub struct ServerOptions { /* private fields */ }
Implementations§
source§impl ServerOptions
impl ServerOptions
pub fn with_ca_file(self, ca_file: &str) -> Self
pub fn with_private_key_file(self, private_key_file: &str) -> Self
pub fn with_certificate_file(self, certificate_file: &str) -> Self
pub fn with_bind_to_host(self, bind_to_host: &str) -> Self
pub fn with_bind_to_port(self, bind_to_port: u16) -> Self
pub fn with_thread_pool_size(self, thread_pool_size: u16) -> Self
pub fn with_server( self, name: &str, server: Box<dyn Server + Send + Sync + 'static> )
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ServerOptions
impl Send for ServerOptions
impl Sync for ServerOptions
impl Unpin for ServerOptions
impl !UnwindSafe for ServerOptions
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