pub struct FdtRow {
pub address: SocketAddrV4,
pub ttl: u16,
pub remaining: u16,
}Expand description
One FDT entry.
Fields§
§address: SocketAddrV4The address the BBMD recorded for the foreign device, which is the source address its registration arrived from.
ttl: u16The time-to-live the device asked for, in seconds.
remaining: u16Seconds left before the BBMD drops the entry, as of the read. The BBMD adds a grace period to the time-to-live (Annex J.5.2.3).
Implementations§
Trait Implementations§
impl Copy for FdtRow
impl Eq for FdtRow
Source§impl From<&FdtEntryWire> for FdtRow
impl From<&FdtEntryWire> for FdtRow
Source§fn from(entry: &FdtEntryWire) -> Self
fn from(entry: &FdtEntryWire) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for FdtRow
Auto Trait Implementations§
impl Freeze for FdtRow
impl RefUnwindSafe for FdtRow
impl Send for FdtRow
impl Sync for FdtRow
impl Unpin for FdtRow
impl UnsafeUnpin for FdtRow
impl UnwindSafe for FdtRow
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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