mirror of
https://github.com/SeriousBug/gandi-live-dns-rust
synced 2024-05-18 03:09:04 -05:00
8 lines
181 B
Rust
8 lines
181 B
Rust
use async_trait::async_trait;
|
|
|
|
#[async_trait]
|
|
pub trait IPSource {
|
|
async fn get_ipv4(&self) -> anyhow::Result<String>;
|
|
async fn get_ipv6(&self) -> anyhow::Result<String>;
|
|
}
|