pub struct ServiceOptions {
pub listen: Option<String>,
pub health_timeout: Option<Duration>,
}Fields§
§listen: Option<String>Loopback address to serve on. Default: the env file’s
ISB_SERVE_LISTEN, else DEFAULT_LISTEN. Given explicitly, it is
written to the env file.
health_timeout: Option<Duration>How long to wait for /healthz to answer 200. Default 30s.
Trait Implementations§
Source§impl Clone for ServiceOptions
impl Clone for ServiceOptions
Source§impl Debug for ServiceOptions
impl Debug for ServiceOptions
Auto Trait Implementations§
impl Freeze for ServiceOptions
impl RefUnwindSafe for ServiceOptions
impl Send for ServiceOptions
impl Sync for ServiceOptions
impl Unpin for ServiceOptions
impl UnsafeUnpin for ServiceOptions
impl UnwindSafe for ServiceOptions
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