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