pub struct SpdpConfig {
pub domain_id: u32,
pub announce_period: Duration,
pub announce_locators: Vec<Locator>,
}Expand description
Settings of Spdp.
Fields§
§domain_id: u32The domain id of the local participant.
announce_period: DurationHow often to announce (resendPeriod); 30 s by default
(9.6.2.4.2). It should be shorter than the lease duration.
announce_locators: Vec<Locator>Where to announce (readerLocators): by default the discovery
multicast locator (9.6.2.4.1).
Implementations§
Trait Implementations§
Source§impl Clone for SpdpConfig
impl Clone for SpdpConfig
Auto Trait Implementations§
impl Forget for SpdpConfig
impl Freeze for SpdpConfig
impl Move for SpdpConfig
impl RefUnwindSafe for SpdpConfig
impl Send for SpdpConfig
impl Sync for SpdpConfig
impl Unpin for SpdpConfig
impl UnsafeUnpin for SpdpConfig
impl UnwindSafe for SpdpConfig
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