pub struct DnsMadeEasy { /* private fields */ }Implementations§
Trait Implementations§
Source§impl DnsProvider for DnsMadeEasy
impl DnsProvider for DnsMadeEasy
fn get_record<T>(&self, rtype: RecordType, host: &str) -> Result<Option<T>>where
T: DeserializeOwned,
fn create_record<T>( &self, rtype: RecordType, host: &str, record: &T, ) -> Result<()>
fn update_record<T>( &self, rtype: RecordType, host: &str, urec: &T, ) -> Result<()>
fn delete_record(&self, rtype: RecordType, host: &str) -> Result<()>
fn get_txt_record(&self, host: &str) -> Result<Option<String>>
fn create_txt_record(&self, host: &str, record: &String) -> Result<()>
fn update_txt_record(&self, host: &str, record: &String) -> Result<()>
fn delete_txt_record(&self, host: &str) -> Result<()>
fn get_a_record(&self, host: &str) -> Result<Option<Ipv4Addr>>
fn create_a_record(&self, host: &str, record: &Ipv4Addr) -> Result<()>
fn update_a_record(&self, host: &str, record: &Ipv4Addr) -> Result<()>
fn delete_a_record(&self, host: &str) -> Result<()>
Auto Trait Implementations§
impl !Freeze for DnsMadeEasy
impl RefUnwindSafe for DnsMadeEasy
impl Send for DnsMadeEasy
impl Sync for DnsMadeEasy
impl Unpin for DnsMadeEasy
impl UnsafeUnpin 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