pub struct Config {
pub host: String,
pub port: u16,
pub path: String,
pub tls: bool,
pub timeout: Duration,
}Expand description
Parameters for tests
Fields§
§host: Stringwhich host to connect to
port: u16which port to connect to
path: Stringwhich path to request
tls: boolwhether to use TLS
timeout: Durationhow long to wait for a frame
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Config
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