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§
impl<'a> Eq for WKS<'a>
impl<'a> StructuralPartialEq for WKS<'a>
Auto Trait Implementations§
impl<'a> Freeze for WKS<'a>
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)