pub struct PerInterfaceState { /* private fields */ }Implementations§
Source§impl PerInterfaceState
impl PerInterfaceState
pub fn should_announce( &self, now: Instant, cfg: &MulticastDiscoveryConfig, ) -> bool
pub fn should_send_extend_request( &self, now: Instant, cfg: &MulticastDiscoveryConfig, ) -> bool
pub fn should_extended_announce( &self, now: Instant, cfg: &MulticastDiscoveryConfig, ) -> bool
pub fn extended_announcements_enabled( &self, now: Instant, cfg: &MulticastDiscoveryConfig, ) -> bool
pub fn got_extend_announce_req(&mut self, now: Instant)
Trait Implementations§
Source§impl Default for PerInterfaceState
impl Default for PerInterfaceState
Source§fn default() -> PerInterfaceState
fn default() -> PerInterfaceState
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PerInterfaceState
impl RefUnwindSafe for PerInterfaceState
impl Send for PerInterfaceState
impl Sync for PerInterfaceState
impl Unpin for PerInterfaceState
impl UnwindSafe for PerInterfaceState
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