Struct c_ares::TXTResult
[−]
[src]
pub struct TXTResult<'a> { /* fields omitted */ }
The contents of a single TXT record.
Methods
impl<'a> TXTResult<'a>
[src]
fn record_start(&self) -> bool
[src]
Is this the start of a text record, or the continuation of a previous record?
fn text(&self) -> &[u8]
[src]
Returns the text in this TXTResult
.
Although text is usual here, any binary data is legal - which is why we
return &[u8]
rather than &str
.
Trait Implementations
impl<'a> Clone for TXTResult<'a>
[src]
fn clone(&self) -> TXTResult<'a>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more