Module fuchsia_component::server
source · Expand description
Tools for providing Fuchsia services.
Structs§
- A wrapper for functions from
RequestStream
toOutput
which implementsService
. - A wrapper for functions from
ServiceRequest
toOutput
which implementsService
. - A wrapper for functions from
ServerEnd
toOutput
which implementsService
. - An error indicating the startup handle on which the FIDL server attempted to start was missing.
ProtocolConnector
allows connecting to capabilities exposed by ServiceFs- A filesystem which connects clients to services.
- A directory within a
ServiceFs
. - A thread-safe (
Send
) trait object encapsulating aService
with the givenOutput
type. - A
!Send
(non-thread-safe) trait object encapsulating aService
with the givenOutput
type. - A wrapper around the base
ServiceFs
that streams out capability connection requests. Additionally, it will yieldItem::Stalled
if there is no work happening in the fs and the main outgoing directory connection has not received messages for some time.
Enums§
- The item yielded by a
StallableServiceFs
stream.
Traits§
Service
connects channels to service instances.- A trait implemented by both
ServiceObj
andServiceObjLocal
that allows code to be generic over thread-safety.