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§fn clone(&self) -> HttpHealthConfig
fn clone(&self) -> HttpHealthConfig
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 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 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