Struct domain::rdata::rfc3596::Aaaa [−][src]
pub struct Aaaa { /* fields omitted */ }
Methods
impl Aaaa
[src]
impl Aaaa
pub fn new(addr: Ipv6Addr) -> Aaaa
[src]
pub fn new(addr: Ipv6Addr) -> Aaaa
pub fn addr(&self) -> Ipv6Addr
[src]
pub fn addr(&self) -> Ipv6Addr
pub fn set_addr(&mut self, addr: Ipv6Addr)
[src]
pub fn set_addr(&mut self, addr: Ipv6Addr)
pub fn scan<S: Scanner>(
scanner: &mut S,
_origin: Option<&DNameSlice>
) -> ScanResult<Self>
[src]
pub fn scan<S: Scanner>(
scanner: &mut S,
_origin: Option<&DNameSlice>
) -> ScanResult<Self>
Trait Implementations
impl Clone for Aaaa
[src]
impl Clone for Aaaa
fn clone(&self) -> Aaaa
[src]
fn clone(&self) -> Aaaa
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for Aaaa
[src]
impl Debug for Aaaa
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Eq for Aaaa
[src]
impl Eq for Aaaa
impl Ord for Aaaa
[src]
impl Ord for Aaaa
fn cmp(&self, other: &Aaaa) -> Ordering
[src]
fn cmp(&self, other: &Aaaa) -> Ordering
This method returns an Ordering
between self
and other
. Read more
fn max(self, other: Self) -> Self
1.21.0[src]
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
impl PartialEq for Aaaa
[src]
impl PartialEq for Aaaa
fn eq(&self, other: &Aaaa) -> bool
[src]
fn eq(&self, other: &Aaaa) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Aaaa) -> bool
[src]
fn ne(&self, other: &Aaaa) -> bool
This method tests for !=
.
impl PartialOrd for Aaaa
[src]
impl PartialOrd for Aaaa
fn partial_cmp(&self, other: &Aaaa) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &Aaaa) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &Aaaa) -> bool
[src]
fn lt(&self, other: &Aaaa) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &Aaaa) -> bool
[src]
fn le(&self, other: &Aaaa) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, other: &Aaaa) -> bool
[src]
fn gt(&self, other: &Aaaa) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, other: &Aaaa) -> bool
[src]
fn ge(&self, other: &Aaaa) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl RecordData for Aaaa
[src]
impl RecordData for Aaaa
fn rtype(&self) -> Rtype
[src]
fn rtype(&self) -> Rtype
Returns the record type for this record data instance. Read more
fn compose<C: AsMut<Composer>>(&self, target: C) -> ComposeResult<()>
[src]
fn compose<C: AsMut<Composer>>(&self, target: C) -> ComposeResult<()>
Appends the record data to the end of a composer.
impl<'a> ParsedRecordData<'a> for Aaaa
[src]
impl<'a> ParsedRecordData<'a> for Aaaa
fn parse(rtype: Rtype, parser: &mut Parser) -> ParseResult<Option<Self>>
[src]
fn parse(rtype: Rtype, parser: &mut Parser) -> ParseResult<Option<Self>>
Parses the record data out of a parser. Read more
impl Display for Aaaa
[src]
impl Display for Aaaa