pub struct TestServerConfig {
pub host: String,
pub port: u16,
pub startup_timeout_secs: u64,
pub health_check_interval_ms: u64,
}Expand description
Configuration for a test server.
Fields§
§host: StringHost address.
port: u16Port to listen on.
startup_timeout_secs: u64Startup timeout in seconds.
health_check_interval_ms: u64Health check interval in milliseconds.
Implementations§
Trait Implementations§
Source§impl Clone for TestServerConfig
impl Clone for TestServerConfig
Source§fn clone(&self) -> TestServerConfig
fn clone(&self) -> TestServerConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TestServerConfig
impl Debug for TestServerConfig
Auto Trait Implementations§
impl Freeze for TestServerConfig
impl RefUnwindSafe for TestServerConfig
impl Send for TestServerConfig
impl Sync for TestServerConfig
impl Unpin for TestServerConfig
impl UnwindSafe for TestServerConfig
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