pub struct Config {
pub queue_size: usize,
pub buffer_size: usize,
pub stack_size: usize,
pub slab_reserved: usize,
pub log_level: LevelFilter,
pub ctrlport_enable: bool,
pub ctrlport_bind: Option<SocketAddr>,
pub frontend_path: Option<PathBuf>,
/* private fields */
}
Expand description
Configuration
Fields§
§queue_size: usize
Queue size of inboxes
buffer_size: usize
Stream buffer size in bytes
stack_size: usize
Thread stack size
slab_reserved: usize
Slab reserved items
log_level: LevelFilter
Log level
ctrlport_enable: bool
Enable control port
ctrlport_bind: Option<SocketAddr>
Control port socket address
frontend_path: Option<PathBuf>
Frontend path for Webserver
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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