Crate fidl_next_bind

Source
Expand description

Typed wrappers for FIDL bindings.

This crate wraps a number of “untyped” items to add more type safety, and provides some basic utility methods for use on Fuchsia.

Modules§

fuchsia
Fuchsia-specific FIDL bindings.
fuchsia_async
FIDL bindings integration with fuchsia-async.

Structs§

Client
A strongly typed client.
ClientEnd
The client end of a protocol.
ClientHandlerAdapter
An adapter for a client protocol handler.
ClientSender
A strongly typed client sender.
EncodedSendFuture
A future which sends an encoded message to a connection.
EncodedTwoWayFuture
A future which performs a two-way FIDL method call.
ReceiveTwoWayFuture
A future which receives a two-way FIDL method call.
Responder
A strongly typed Responder.
SendFuture
A future which sends an encoded message to a connection.
SendTwoWayFuture
A future which sends a two-way FIDL method call.
SentTwoWayFuture
A future which performs a two-way FIDL method call.
Server
A strongly typed server.
ServerEnd
The server end of a protocol.
ServerHandlerAdapter
An adapter for a server protocol handler.
ServerSender
A strongly typed server sender.
ServiceConnector
A strongly-typed member connector for a FIDL service.
ServiceHandlerAdapter
An adapter for a FIDL service handler.
TwoWayFuture
A future which performs a two-way FIDL method call.
UnknownStrictEnumMemberError
Error returned by TryFrom on a strict enum if none of the members match the supplied value.

Enums§

Error
An encoding, decoding, or transport FIDL error.
Never
The request or response type of a method which does not have a request or response.

Traits§

ClientCompatFrom
Conversions between old and new Rust protocol bindings.
Discoverable
A discoverable protocol.
DiscoverableService
A discoverable service.
DispatchClientMessage
A protocol which dispatches incoming client messages to a handler.
DispatchServerMessage
A protocol which dispatches incoming server messages to a handler.
DispatchServiceHandler
A service which dispatches incoming connections to a handler.
Executor
An executor which futures can be spawned on.
HasExecutor
A transport which has an executor to spawn on.
Method
A method of a protocol.
Protocol
A FIDL protocol.
RunsTransport
Identifies an executor as being able to run a transport.
Service
A FIDL service.

Type Aliases§

HandlerTask
A client or server handler task.
Request
A decoded request.
Response
A decoded response.