mirror of
https://github.com/SeriousBug/gandi-live-dns-rust
synced 2024-05-16 18:29:06 -05:00
Kaan Barmore-Genç
5c6b38f7b0
* Do retry update after a failure & fix tests * Fix formatting * Fix clippy errors * Add codecov ignore for ip_source files
10 lines
216 B
Rust
10 lines
216 B
Rust
use async_trait::async_trait;
|
|
|
|
use crate::ClientError;
|
|
|
|
#[async_trait]
|
|
pub trait IPSource {
|
|
async fn get_ipv4(&self) -> Result<String, ClientError>;
|
|
async fn get_ipv6(&self) -> Result<String, ClientError>;
|
|
}
|