pub struct DiscoveryRecord { /* private fields */ }Implementations§
Source§impl DiscoveryRecord
impl DiscoveryRecord
pub const fn interface(&self) -> &DiscoveredInterface
pub const fn id(&self) -> DiscoveredInterfaceId
pub const fn first_heard(&self) -> InstantMillis
pub const fn last_heard(&self) -> InstantMillis
pub const fn observation_count(&self) -> DiscoveryObservationCount
pub const fn status(&self, now: InstantMillis) -> DiscoveredInterfaceStatus
Trait Implementations§
Source§impl Debug for DiscoveryRecord
impl Debug for DiscoveryRecord
Source§impl From<&DiscoveryRecord> for DiscoveryArchiveRecord
impl From<&DiscoveryRecord> for DiscoveryArchiveRecord
Source§fn from(record: &DiscoveryRecord) -> DiscoveryArchiveRecord
fn from(record: &DiscoveryRecord) -> DiscoveryArchiveRecord
Converts to this type from the input type.
Source§impl PartialEq for DiscoveryRecord
impl PartialEq for DiscoveryRecord
impl StructuralPartialEq for DiscoveryRecord
Auto Trait Implementations§
impl Freeze for DiscoveryRecord
impl RefUnwindSafe for DiscoveryRecord
impl Send for DiscoveryRecord
impl Sync for DiscoveryRecord
impl Unpin for DiscoveryRecord
impl UnsafeUnpin for DiscoveryRecord
impl UnwindSafe for DiscoveryRecord
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