pub enum ProviderImpl {
Gandi(Gandi),
Dnsimple(Dnsimple),
DnsMadeEasy(DnsMadeEasy),
PorkBun(Porkbun),
}Variants§
Implementations§
Trait Implementations§
Source§impl DnsProvider for ProviderImpl
impl DnsProvider for ProviderImpl
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,
record: &T,
) -> Result<()>
fn update_record<T>( &self, rtype: RecordType, host: &str, record: &T, ) -> Result<()>
Update a DNS record by host and record type.
Source§fn delete_record(&self, rtype: RecordType, host: &str) -> Result<()>where
Self: Sized,
fn delete_record(&self, rtype: RecordType, host: &str) -> Result<()>where
Self: Sized,
Delete a DNS record by host and record type.
Source§fn get_record<T>(&self, rtype: RecordType, host: &str) -> Result<Option<T>>where
T: DeserializeOwned,
Self: Sized,
fn get_record<T>(&self, rtype: RecordType, host: &str) -> Result<Option<T>>where
T: DeserializeOwned,
Self: Sized,
Get a DNS record by host and record type.
fn get_txt_record(&self, host: &str) -> Result<Option<String>>where
Self: Sized,
fn create_txt_record(&self, host: &str, record: &String) -> Result<()>where
Self: Sized,
fn update_txt_record(&self, host: &str, record: &String) -> Result<()>where
Self: Sized,
fn delete_txt_record(&self, host: &str) -> Result<()>where
Self: Sized,
fn get_a_record(&self, host: &str) -> Result<Option<Ipv4Addr>>where
Self: Sized,
fn create_a_record(&self, host: &str, record: &Ipv4Addr) -> Result<()>where
Self: Sized,
fn update_a_record(&self, host: &str, record: &Ipv4Addr) -> Result<()>where
Self: Sized,
fn delete_a_record(&self, host: &str) -> Result<()>where
Self: Sized,
Auto Trait Implementations§
impl !Freeze for ProviderImpl
impl RefUnwindSafe for ProviderImpl
impl Send for ProviderImpl
impl Sync for ProviderImpl
impl Unpin for ProviderImpl
impl UnwindSafe for ProviderImpl
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