mirror of
https://github.com/SeriousBug/gandi-live-dns-rust
synced 2024-05-20 04:09:03 -05:00
Kaan Barmore-Genç
90c5485cce
* wip * wip implement test * complete test * add lint and test actions * fix bad format
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>;
|
|
}
|