pub struct SdEventConfig {
pub request_response_delay_max_value: f64,
pub request_response_delay_min_value: f64,
pub ttl: u32,
}
Expand description
Configuration for an SD event handler
Fields§
§request_response_delay_max_value: f64
The maximum delay for a request-response cycle
request_response_delay_min_value: f64
The minimum delay for a request-response cycle
ttl: u32
The time-to-live for the service offer
Trait Implementations§
Source§impl Clone for SdEventConfig
impl Clone for SdEventConfig
Source§fn clone(&self) -> SdEventConfig
fn clone(&self) -> SdEventConfig
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 SdEventConfig
impl Debug for SdEventConfig
Source§impl PartialEq for SdEventConfig
impl PartialEq for SdEventConfig
impl StructuralPartialEq for SdEventConfig
Auto Trait Implementations§
impl Freeze for SdEventConfig
impl RefUnwindSafe for SdEventConfig
impl Send for SdEventConfig
impl Sync for SdEventConfig
impl Unpin for SdEventConfig
impl UnwindSafe for SdEventConfig
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