Struct domain::rdata::rfc1035::Mg
[−]
[src]
pub struct Mg<N: DName> { /* fields omitted */ }
Methods
impl<N: DName> Mg<N>
[src]
impl Mg<DNameBuf>
[src]
fn scan<S: Scanner>(scanner: &mut S,
origin: Option<&DNameSlice>)
-> ScanResult<Self>
origin: Option<&DNameSlice>)
-> ScanResult<Self>
Trait Implementations
impl<N: Clone + DName> Clone for Mg<N>
[src]
fn clone(&self) -> Mg<N>
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<N: Debug + DName> Debug for Mg<N>
[src]
impl<N: Eq + DName> Eq for Mg<N>
[src]
impl<N: Ord + DName> Ord for Mg<N>
[src]
fn cmp(&self, __arg_0: &Mg<N>) -> Ordering
This method returns an Ordering
between self
and other
. Read more
impl<N: PartialEq + DName> PartialEq for Mg<N>
[src]
fn eq(&self, __arg_0: &Mg<N>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Mg<N>) -> bool
This method tests for !=
.
impl<N: PartialOrd + DName> PartialOrd for Mg<N>
[src]
fn partial_cmp(&self, __arg_0: &Mg<N>) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, __arg_0: &Mg<N>) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, __arg_0: &Mg<N>) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, __arg_0: &Mg<N>) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, __arg_0: &Mg<N>) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl<N: DName> RecordData for Mg<N>
[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<()>
Appends the record data to the end of a composer.
impl<'a> ParsedRecordData<'a> for Mg<ParsedDName<'a>>
[src]
fn parse(rtype: Rtype, parser: &mut Parser<'a>) -> ParseResult<Option<Self>>
Parses the record data out of a parser.
impl<N: DName> From<N> for Mg<N>
[src]
fn from(name: N) -> Self
Performs the conversion.