Struct simple_dns::rdata::WKS
source · pub struct WKS<'a> {
pub address: u32,
pub protocol: u8,
pub bit_map: Cow<'a, [u8]>,
}
Expand description
The WKS record is used to describe the well known services supported by a particular protocol on a particular internet address.
Fields§
§address: u32
An 32 bit Internet address
protocol: u8
An 8 bit IP protocol number
bit_map: Cow<'a, [u8]>
A variable length bit map. The bit map must be a multiple of 8 bits long.
Implementations§
Trait Implementations§
source§impl<'a> PartialEq for WKS<'a>
impl<'a> PartialEq for WKS<'a>
impl<'a> Eq for WKS<'a>
impl<'a> StructuralPartialEq for WKS<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for WKS<'a>
impl<'a> Send for WKS<'a>
impl<'a> Sync for WKS<'a>
impl<'a> Unpin for WKS<'a>
impl<'a> UnwindSafe for WKS<'a>
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