Struct async_zeroconf::ServiceRef[][src]

pub struct ServiceRef { /* fields omitted */ }
Expand description

Struct to hold a published service, which keeps the service alive while a reference to it is held. When dropped the Service will be removed and any associated resources deallocated.

This should be created via a Service or a ServiceResolver. For a browse operation the ServiceRef is held by the ServiceBrowser created by a ServiceBrowserBuilder.

Implementations

Return a descriptive type of the operation associated with this reference.

Trait Implementations

Formats the value using the given formatter. Read more

Executes the destructor for this type. 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.