pub struct Options {
pub address: SocketAddr,
pub username: String,
pub password: String,
pub https: bool,
}Expand description
How the simulator listens and whom it lets in.
Fields§
§address: SocketAddrPort 0 picks a free port.
username: String§password: String§https: boolServe HTTPS with a new self-signed certificate, see
Sim::fingerprint.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Options
impl Freeze for Options
impl Move for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnsafeUnpin for Options
impl UnwindSafe for Options
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