Struct domain::rdata::rfc1035::WksBitmap
[−]
[src]
pub struct WksBitmap { /* fields omitted */ }
Methods
impl WksBitmap
[src]
fn from_bytes(bytes: &[u8]) -> &Self
fn as_bytes(&self) -> &[u8]
fn iter(&self) -> WksIter
fn serves(&self, port: u16) -> bool
Returns whether a certain service is being provided.
Trait Implementations
impl Debug for WksBitmap
[src]
impl<'a> From<&'a [u8]> for &'a WksBitmap
[src]
impl AsRef<WksBitmap> for WksBitmap
[src]
fn as_ref(&self) -> &Self
Performs the conversion.
impl PartialEq for WksBitmap
[src]
fn eq(&self, other: &Self) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl<T: AsRef<WksBitmap>> PartialEq<T> for WksBitmap
[src]
fn eq(&self, other: &T) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.