Enum mdns_sd::ServiceEvent[][src]

pub enum ServiceEvent {
    SearchStarted(String),
    ServiceFound(StringString),
    ServiceResolved(ServiceInfo),
    ServiceRemoved(StringString),
    SearchStopped(String),
}
Expand description

All possible events sent to the client from the daemon.

Variants

SearchStarted(String)

Started searching for a service type.

Tuple Fields of SearchStarted

0: String
ServiceFound(StringString)

Found a specific (service_type, fullname).

Tuple Fields of ServiceFound

0: String1: String
ServiceResolved(ServiceInfo)

Resolved a service instance with detailed info.

Tuple Fields of ServiceResolved

0: ServiceInfo
ServiceRemoved(StringString)

A service instance (service_type, fullname) was removed.

Tuple Fields of ServiceRemoved

0: String1: String
SearchStopped(String)

Stopped searching for a service type.

Tuple Fields of SearchStopped

0: String

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.