Struct trust_dns::client::BasicClientHandle
[−]
[src]
pub struct BasicClientHandle { /* fields omitted */ }
Root ClientHandle implementaton returned by ClientFuture
This can be used directly to perform queries. See trust_dns::client::SecureClientHandle
for
a DNSSEc chain validator.
Trait Implementations
impl<CC> Client<BasicClientHandle> for SyncClient<CC> where
CC: ClientConnection,
[src]
CC: ClientConnection,
fn new_future(
&self
) -> ClientResult<Box<Future<Item = BasicClientHandle, Error = ClientError> + Send>>
[src]
&self
) -> ClientResult<Box<Future<Item = BasicClientHandle, Error = ClientError> + Send>>
Return the inner Futures items Read more
fn query(
&self,
name: &Name,
query_class: DNSClass,
query_type: RecordType
) -> ClientResult<DnsResponse>
[src]
&self,
name: &Name,
query_class: DNSClass,
query_type: RecordType
) -> ClientResult<DnsResponse>
A classic DNS query, i.e. does not perform any DNSSec operations Read more
fn notify<R>(
&mut self,
name: Name,
query_class: DNSClass,
query_type: RecordType,
rrset: Option<R>
) -> ClientResult<DnsResponse> where
R: IntoRecordSet,
[src]
&mut self,
name: Name,
query_class: DNSClass,
query_type: RecordType,
rrset: Option<R>
) -> ClientResult<DnsResponse> where
R: IntoRecordSet,
Sends a NOTIFY message to the remote system Read more
fn create<R>(&self, rrset: R, zone_origin: Name) -> ClientResult<DnsResponse> where
R: IntoRecordSet,
[src]
R: IntoRecordSet,
Sends a record to create on the server, this will fail if the record exists (atomicity depends on the server) Read more
fn append<R>(
&self,
rrset: R,
zone_origin: Name,
must_exist: bool
) -> ClientResult<DnsResponse> where
R: IntoRecordSet,
[src]
&self,
rrset: R,
zone_origin: Name,
must_exist: bool
) -> ClientResult<DnsResponse> where
R: IntoRecordSet,
Appends a record to an existing rrset, optionally require the rrset to exist (atomicity depends on the server) Read more
fn compare_and_swap<CR, NR>(
&self,
current: CR,
new: NR,
zone_origin: Name
) -> ClientResult<DnsResponse> where
CR: IntoRecordSet,
NR: IntoRecordSet,
[src]
&self,
current: CR,
new: NR,
zone_origin: Name
) -> ClientResult<DnsResponse> where
CR: IntoRecordSet,
NR: IntoRecordSet,
Compares and if it matches, swaps it for the new value (atomicity depends on the server) Read more
fn delete_by_rdata<R>(
&self,
record: R,
zone_origin: Name
) -> ClientResult<DnsResponse> where
R: IntoRecordSet,
[src]
&self,
record: R,
zone_origin: Name
) -> ClientResult<DnsResponse> where
R: IntoRecordSet,
Deletes a record (by rdata) from an rrset, optionally require the rrset to exist. Read more
fn delete_rrset(
&self,
record: Record,
zone_origin: Name
) -> ClientResult<DnsResponse>
[src]
&self,
record: Record,
zone_origin: Name
) -> ClientResult<DnsResponse>
Deletes an entire rrset, optionally require the rrset to exist. Read more
fn delete_all(
&self,
name_of_records: Name,
zone_origin: Name,
dns_class: DNSClass
) -> ClientResult<DnsResponse>
[src]
&self,
name_of_records: Name,
zone_origin: Name,
dns_class: DNSClass
) -> ClientResult<DnsResponse>
Deletes all records at the specified name Read more
impl Clone for BasicClientHandle
[src]
fn clone(&self) -> BasicClientHandle
[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
impl DnsHandle for BasicClientHandle
[src]
type Error = ClientError
The associated error type returned by future send operations
ⓘImportant traits for Box<W>fn send<R: Into<DnsRequest>>(
&mut self,
request: R
) -> Box<Future<Item = DnsResponse, Error = Self::Error> + Send>
[src]
&mut self,
request: R
) -> Box<Future<Item = DnsResponse, Error = Self::Error> + Send>
Send a message via the channel in the client Read more
fn is_verifying_dnssec(&self) -> bool
[src]
Ony returns true if and only if this DNS handle is validating DNSSec. Read more
ⓘImportant traits for Box<W>fn lookup(
&mut self,
query: Query,
options: DnsRequestOptions
) -> Box<Future<Error = Self::Error, Item = DnsResponse> + 'static + Send>
[src]
&mut self,
query: Query,
options: DnsRequestOptions
) -> Box<Future<Error = Self::Error, Item = DnsResponse> + 'static + Send>
A classic DNS query Read more