pub struct OpsConfig {
pub bind_address: IpAddr,
pub port: u16,
}Expand description
Configuration for the separate operations listener.
Fields§
§bind_address: IpAddrAddress on which health, readiness, and metrics endpoints listen.
port: u16TCP port for the operations listener.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for OpsConfig
impl<'de> Deserialize<'de> for OpsConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for OpsConfig
impl RefUnwindSafe for OpsConfig
impl Send for OpsConfig
impl Sync for OpsConfig
impl Unpin for OpsConfig
impl UnsafeUnpin for OpsConfig
impl UnwindSafe for OpsConfig
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