Expand description
FIDL protocols.
Modules§
- fuchsia
- Fuchsia-specific FIDL protocol extensions.
- mpsc
- A basic
Transport
implementation based on MPSC channels.
Structs§
- Client
- A client for an endpoint.
- Client
Sender - A sender for a client endpoint.
- Ignore
Events - A client handler which ignores any incoming events.
- Recv
Future - A future which receives an encoded message over the transport.
- Responder
- A responder for a two-way message.
- Response
Future - A future for a request pending a response.
- Send
Future - A future which sends an encoded message over the transport.
- Server
- A server for an endpoint.
- Server
Sender - A sender for a server endpoint.
- Wire
Flexible - A flexible FIDL response.
- Wire
Flexible Result - A flexible FIDL result.
- Wire
Framework Error - An internal framework error.
- Wire
Message Header - A FIDL protocol message header
Enums§
- Flexible
- A flexible FIDL response.
- Flexible
Result - A flexible FIDL result.
- Framework
Error - An internal framework error.
- Protocol
Error - Errors that can be produced by FIDL clients and servers.
Constants§
- FLAG_
0_ WIRE_ FORMAT_ V2_ BIT - The flag 0 bit indicating that the wire format is v2.
- MAGIC_
NUMBER - The magic number indicating FIDL protocol compatibility.
Traits§
- Client
Handler - A type which handles incoming events for a client.
- Server
Handler - A type which handles incoming events for a server.
- Service
Instance - An instance of a FIDL service.
- Transport
- A transport layer which can send and receive messages.
- Transport
Ext - Helper methods for
Transport
.
Functions§
- decode_
header - Parses the transaction ID and ordinal from the given buffer.
- encode_
header - Encodes a message into the given buffer.