pub struct DnsMadeEasy { /* private fields */ }Expand description
Synchronous DNSMadeEasy provider implementation.
Manages endpoint, authentication and domain lookup state.
Implementations§
Trait Implementations§
Source§impl DnsProvider for DnsMadeEasy
impl DnsProvider for DnsMadeEasy
Source§fn get_record<T>(&self, rtype: RecordType, host: &str) -> Result<Option<T>>where
T: DeserializeOwned,
fn get_record<T>(&self, rtype: RecordType, host: &str) -> Result<Option<T>>where
T: DeserializeOwned,
Get a DNS record by host and record type.
Source§fn create_record<T>(
&self,
rtype: RecordType,
host: &str,
record: &T,
) -> Result<()>
fn create_record<T>( &self, rtype: RecordType, host: &str, record: &T, ) -> Result<()>
Create a new DNS record by host and record type.
Source§fn update_record<T>(
&self,
rtype: RecordType,
host: &str,
urec: &T,
) -> Result<()>
fn update_record<T>( &self, rtype: RecordType, host: &str, urec: &T, ) -> Result<()>
Update a DNS record by host and record type.
Source§fn delete_record(&self, rtype: RecordType, host: &str) -> Result<()>
fn delete_record(&self, rtype: RecordType, host: &str) -> Result<()>
Delete a DNS record by host and record type.
Source§fn create_txt_record(&self, host: &str, record: &String) -> Result<()>
fn create_txt_record(&self, host: &str, record: &String) -> Result<()>
Create a new TXT record. Read more
Source§fn update_txt_record(&self, host: &str, record: &String) -> Result<()>
fn update_txt_record(&self, host: &str, record: &String) -> Result<()>
Update a TXT record. Read more
Source§fn create_a_record(&self, host: &str, record: &Ipv4Addr) -> Result<()>
fn create_a_record(&self, host: &str, record: &Ipv4Addr) -> Result<()>
Create a new A record. Read more
Auto Trait Implementations§
impl !Freeze for DnsMadeEasy
impl RefUnwindSafe for DnsMadeEasy
impl Send for DnsMadeEasy
impl Sync for DnsMadeEasy
impl Unpin for DnsMadeEasy
impl UnwindSafe for DnsMadeEasy
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more