Module service

Source
Expand description

Implementations of a service endpoint.

Structs§

Service
Represents a node in the file system that hosts a service. Opening a connection to this node will switch to FIDL protocol that is different from the file system protocols, described in fuchsia.io. See there for additional details.
ServiceOptions

Traits§

ServiceLike
Objects that behave like services should implement this trait.

Functions§

endpoint
Constructs a node in your file system that will host a service.
host
Constructs a node in your file system that will host a service that implements a statically specified FIDL protocol. ServerRequestStream specifies the type of the server side of this protocol.
serve
Helper to open a service or node as required.