pub fn with_heartbeat_interval(mut self, interval: i64) -> Self {
        assert!(
            interval > 0,
            "Heartbeat interval must be non-negative: {}",
            interval
        );

        // TODO: Check against the lowest suitable heartbeat interval.
        self.heartbeat_interval = Some(interval);
        self
    }
// Set heartbeat update interval for service.
Set heartbeat update interval for service.
Set heartbeat update interval for service .
pub fn with_heartbeat_interval(mut self, interval: i64) -> Self {
        assert!(
            interval > 0,
            "Heartbeat interval must be non-negative: {}",
            interval
        );
        // TODO: Check against the lowest suitable heartbeat interval.
        self.heartbeat_interval = Some(interval);
        self
    }
pub fn with_heartbeat_interval ( mut self , interval : i64 ) -> Self { assert ! ( interval 0 " " interval ) ; // TODO: Check against the lowest suitable heartbeat interval. self . heartbeat_interval = Some ( interval ) ; self }
Set heartbeat update interval for service.
Set heartbeat update interval for service .
mut self
interval
i64
mut self
interval
i64