5 lines
137 B
Rust
5 lines
137 B
Rust
|
pub trait DnsTextData: Sized {
|
||
|
fn dns_parse(data: &str) -> ::errors::Result<Self>;
|
||
|
fn dns_format(&self) -> ::errors::Result<String>;
|
||
|
}
|