Crate fidl_fuchsia_net_mdns_common

Source

Macros§

PublishProxyHostErrorUnknown
Pattern that matches an unknown PublishProxyHostError member.

Structs§

HostAddress
An IPv4 or IPv6 host address with the id of the interface through which the address was received.
HostNameResolutionOptions
Options for HostNameResolver.ResolveHostName.
HostNameResolverResolveHostNameRequest
HostNameResolverResolveHostNameResponse
HostNameSubscriptionListenerOnAddressesChangedRequest
HostNameSubscriptionOptions
Options for HostNameSubscriber.SubscribeToHostName.
IpVersions
Specifies IP versions on which a service instance should be published.
Media
Specifies network media on which a service instance should be published.
ProxyHostPublicationOptions
Options for ProxyHostPublisher.PublishProxyHost.
Publication
Describes an initial instance announcement or query response. In typical use, the default SRV priority, SRV weight and TTL values should be used. TTL values are rounded down to the nearest second. TTL values less than one second are not permitted and will result in the PublicationResponder channel being closed.
PublicationResponderOnPublicationRequest
PublicationResponderOnPublicationResponse
PublicationResponderSetSubtypesRequest
ResolverResolveHostNameRequest
ResolverResolveHostNameResponse
ServiceInstance
Describes a service instance.
ServiceInstancePublication
Describes an initial instance announcement or query response. In typical use, the default SRV priority, SRV weight and TTL values should be used. TTL values are rounded down to the nearest second. TTL values less than one second are not permitted and will result in the ServiceInstancePublicationResponder channel being closed.
ServiceInstancePublicationOptions
Options for ServiceInstancePublisher.PublishServiceInstance.
ServiceInstancePublicationResponderOnPublicationRequest
ServiceInstancePublicationResponderOnPublicationResponse
ServiceInstancePublicationResponderSetSubtypesRequest
ServiceInstanceResolutionOptions
Options for ServiceInstanceResolver.ResolveServiceInstance.
ServiceInstanceResolverResolveServiceInstanceRequest
ServiceInstanceResolverResolveServiceInstanceResponse
ServiceSubscriberOnInstanceChangedRequest
ServiceSubscriberOnInstanceDiscoveredRequest
ServiceSubscriberOnInstanceLostRequest
ServiceSubscriberOnQueryRequest
ServiceSubscriptionListenerOnInstanceChangedRequest
ServiceSubscriptionListenerOnInstanceDiscoveredRequest
ServiceSubscriptionListenerOnInstanceLostRequest
ServiceSubscriptionListenerOnQueryRequest
ServiceSubscriptionOptions
Options for ServiceSubscriber.SubscribeToService.

Enums§

Error
Error values for instance publishing.
OnPublicationError
Error values for ServiceInstancePublicationResponder.OnPublication.
PublicationCause
Describes the cause of a publication.
PublishProxyHostError
Error values for ProxyHostPublisher.PublishProxyHost.
PublishServiceInstanceError
Error values for ServiceInstancePublisher.PublishServiceInstance.
ResourceType
DNS resource types.
ServiceInstancePublicationCause
Describes the cause of a publication.

Constants§

DEFAULT_PTR_TTL
DEFAULT_SRV_PRIORITY
DEFAULT_SRV_TTL
DEFAULT_SRV_WEIGHT
DEFAULT_TXT_TTL
MAX_ADDRESSES
MAX_SUBTYPES
MAX_TEXT_STRINGS

Type Aliases§

HostName
Identifies a host. Host names consist of one or more labels separated by ’.’s. A host name must not end with a ‘.’. Labels must each be 63 characters or less (not including the separator) and are UTF-8-encoded. A complete host name, including separators, must be 255 characters or less.
InstanceName
Identifies a specific instance of a service being published. Instance names consist of a single label, which is at most 63 characters long and which contains no ’.’s. Instance names are UTF-8-encoded.
ServiceName
Identifies a (type of) service being published. Service names consist of two labels, both terminated with a ‘.’. The first label must start with an underscore and be 16 characters or less, including the underscore. The second label must be either ‘_tcp’ or ‘_udp’. Labels do not contain ’.’s. With underscores and terminators, that makes for a maximum of 22 characters. Service names are UTF-8-encoded.
SubtypeName
Identifies a subtype of a service. Subtype names consist of a single label, which is at most 63 characters long and which contains no ’.’s. Subtype names are UTF-8-encoded.
TxtCharacterString
Provides description relating to a service instance. In typical use, TXT strings consist of a key and value separated by ‘=’. TXT strings must be at most 255 characters long and are UTF-8-encoded.
TxtString
Provides description relating to a service instance. In typical use, TXT strings consist of a key and value separated by ‘=’. TXT strings must be at most 255 characters long and are UTF-8-encoded.