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]
impl<CC> Client<BasicClientHandle> for SyncClient<CC> where
CC: ClientConnection,
fn new_future(
&self
) -> ClientResult<Box<Future<Item = BasicClientHandle, Error = ClientError> + Send>>
[src]
fn new_future(
&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]
fn query(
&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]
fn notify<R>(
&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]
fn create<R>(&self, rrset: R, zone_origin: Name) -> ClientResult<DnsResponse> where
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]
fn append<R>(
&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]
fn compare_and_swap<CR, NR>(
&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]
fn delete_by_rdata<R>(
&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]
fn delete_rrset(
&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]
fn delete_all(
&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]
impl Clone for BasicClientHandle
fn clone(&self) -> BasicClientHandle
[src]
fn clone(&self) -> BasicClientHandle
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 DnsHandle for BasicClientHandle
[src]
impl DnsHandle for BasicClientHandle
type Response = OneshotDnsResponseReceiver<DnsMultiplexerSerialResponse>
The associated response from the response future, this should resolve to the Response message
fn send<R: Into<DnsRequest>>(&mut self, request: R) -> Self::Response
[src]
fn send<R: Into<DnsRequest>>(&mut self, request: R) -> Self::Response
Send a message via the channel in the client Read more
fn is_verifying_dnssec(&self) -> bool
[src]
fn is_verifying_dnssec(&self) -> bool
Ony returns true if and only if this DNS handle is validating DNSSec. Read more
fn lookup(&mut self, query: Query, options: DnsRequestOptions) -> Self::Response
[src]
fn lookup(&mut self, query: Query, options: DnsRequestOptions) -> Self::Response
A classic DNS query Read more
Auto Trait Implementations
impl Send for BasicClientHandle
impl Send for BasicClientHandle
impl Sync for BasicClientHandle
impl Sync for BasicClientHandle