Struct domain::rdata::rfc1035::WksBitmapBuf
[−]
[src]
pub struct WksBitmapBuf { /* fields omitted */ }
Methods
impl WksBitmapBuf
[src]
fn new() -> Self
fn from_vec(vec: Vec<u8>) -> Self
fn set_serves(&mut self, port: u16, enable: bool)
Enables or disables the given service.
Methods from Deref<Target = WksBitmap>
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 Clone for WksBitmapBuf
[src]
fn clone(&self) -> WksBitmapBuf
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for WksBitmapBuf
[src]
impl Default for WksBitmapBuf
[src]
fn default() -> WksBitmapBuf
Returns the "default value" for a type. Read more
impl Deref for WksBitmapBuf
[src]
type Target = WksBitmap
The resulting type after dereferencing
fn deref(&self) -> &Self::Target
The method called to dereference a value
impl Borrow<WksBitmap> for WksBitmapBuf
[src]
impl AsRef<WksBitmap> for WksBitmapBuf
[src]
impl<T: AsRef<WksBitmap>> PartialEq<T> for WksBitmapBuf
[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 !=
.