mik1e80/dnssd/src/wire does not have a README file
pub suberror WireError { Malformed(String)}
impl Show for WireError
fn output(self : WireError, logger : &Logger) -> Unit
#deprecated("`WireError::output` is deprecated, use `Show::output` instead.")fn WireError::output(self : WireError, logger : &Logger) -> Unit
#deprecated("`WireError::to_string` is deprecated, use `Show::to_string` instead.")fn WireError::to_string(self : WireError) -> String
pub(all) struct Message { id : Int flags : Int questions : Array[Question] records : Array[Record]}
pub(all) struct Question { name : @mik1e80/dnssd/src/model.DnsNameDnsName rr_type : Int rr_class : Int unicast_response : Bool}
pub(all) enum RData { A(Bytes) Aaaa(Bytes) Ptr(@mik1e80/dnssd/src/model.DnsNameDnsName) Srv(Int, Int, Int, @mik1e80/dnssd/src/model.DnsNameDnsName) Txt(@mik1e80/dnssd/src/model.TxtRecordTxtRecord) Unknown(Bytes)}
pub(all) struct Record { name : @mik1e80/dnssd/src/model.DnsNameDnsName rr_type : Int rr_class : Int cache_flush : Bool ttl : UInt data : RData section : Section}
pub(all) enum Section { Answer Authority Additional}
fn decode(data : Bytes) -> Message raise WireError
fn decode_name(data : Bytes, start : Int) -> (@mik1e80/dnssd/src/model.DnsNameDnsName, Int) raise WireError
fn qm_query(name : @mik1e80/dnssd/src/model.DnsNameDnsName, rr_type : Int) -> Bytes raise WireError
fn query_with_answers(name : @mik1e80/dnssd/src/model.DnsNameDnsName, rr_type : Int, answers : Array[Record]) -> Bytes raise WireError
Install
MoonDiscover: DNS-SD browsing and resolution with a portable protocol core
No dependents