Struct c_ares::CNameResult
[−]
[src]
pub struct CNameResult { // some fields omitted }
The result of a successful CNAME lookup.
Methods
impl CNameResult
[src]
fn parse_from(data: &[u8]) -> Result<CNameResult, AresError>
Obtain a CNameResult
from the response to a CNAME lookup.
fn cname(&self) -> &str
Returns the canonical name record from this CNameResult
.