pub struct ServerOptions { /* private fields */ }Implementations§
Source§impl ServerOptions
impl ServerOptions
pub fn new() -> Self
pub fn set_debug(&mut self)
pub fn set_listen_addr(&mut self, listen_addr: String)
pub fn set_tmp_dir(&mut self, tmp_dir: String)
pub fn set_acv_dir(&mut self, acv_dir: String)
pub fn set_tot_mem_limit(&mut self, tot_mem_limit: String)
pub fn set_file_threshold(&mut self, file_threshold: String)
pub fn set_log_file(&mut self, log_file: String)
pub fn set_log_level(&mut self, log_level: u8)
pub fn load_options(&self)
Auto Trait Implementations§
impl Freeze for ServerOptions
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