pub struct Record<B: SplitByteSlice> {
pub domain: Domain<B>,
pub rtype: Type,
pub class: Class,
pub ttl: u32,
pub flush: bool,
pub rdata: RData<B>,
}
Expand description
Record is the catch-all container for Answer, Authority, and Additional Records sections of an MDNS packet. This is the parsed version that is created when parsing a packet.
Fields§
§domain: Domain<B>
§rtype: Type
§class: Class
§ttl: u32
§flush: bool
§rdata: RData<B>
Trait Implementations§
Auto Trait Implementations§
impl<B> Freeze for Record<B>where
B: Freeze,
impl<B> RefUnwindSafe for Record<B>where
B: RefUnwindSafe,
impl<B> Send for Record<B>where
B: Send,
impl<B> Sync for Record<B>where
B: Sync,
impl<B> Unpin for Record<B>where
B: Unpin,
impl<B> UnwindSafe for Record<B>where
B: UnwindSafe,
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