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)

Tuple Fields

0: String

Started searching for a service type.

ServiceFound(StringString)

Tuple Fields

0: String
1: String

Found a specific (service_type, fullname).

ServiceResolved(ServiceInfo)

Tuple Fields

Resolved a service instance with detailed info.

ServiceRemoved(StringString)

Tuple Fields

0: String
1: String

A service instance (service_type, fullname) was removed.

SearchStopped(String)

Tuple Fields

0: String

Stopped searching for a service type.

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.