pub struct HttpHealthConfig {
pub bind_address: SocketAddr,
}Expand description
Configuration for the HTTP health server
Fields§
§bind_address: SocketAddrImplementations§
Source§impl HttpHealthConfig
impl HttpHealthConfig
pub fn new(bind_address: impl Into<SocketAddr>) -> Self
Trait Implementations§
Source§impl Clone for HttpHealthConfig
impl Clone for HttpHealthConfig
Source§impl Debug for HttpHealthConfig
impl Debug for HttpHealthConfig
Auto Trait Implementations§
impl Freeze for HttpHealthConfig
impl RefUnwindSafe for HttpHealthConfig
impl Send for HttpHealthConfig
impl Sync for HttpHealthConfig
impl Unpin for HttpHealthConfig
impl UnsafeUnpin for HttpHealthConfig
impl UnwindSafe for HttpHealthConfig
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