Type Alias zeroconf::TxtRecord

source ·
pub type TxtRecord = AvahiTxtRecord;
Expand description

Type alias for the platform-specific structure responsible for storing and accessing TXT record data

Aliased Type§

struct TxtRecord(/* private fields */);

Trait Implementations§

source§

impl Debug for TxtRecord

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for TxtRecord

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for TxtRecord

source§

fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
where D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl From<HashMap<&str, &str>> for TxtRecord

source§

fn from(map: HashMap<&str, &str>) -> TxtRecord

Converts to this type from the input type.
source§

impl From<HashMap<String, String>> for TxtRecord

source§

fn from(map: HashMap<String, String>) -> TxtRecord

Converts to this type from the input type.
source§

impl Serialize for TxtRecord

source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for TxtRecord