Crate fidl_next_protocol

Source
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.
ClientSender
A sender for a client endpoint.
IgnoreEvents
A client handler which ignores any incoming events.
RecvFuture
A future which receives an encoded message over the transport.
Responder
A responder for a two-way message.
ResponseFuture
A future for a request pending a response.
SendFuture
A future which sends an encoded message over the transport.
Server
A server for an endpoint.
ServerSender
A sender for a server endpoint.
WireFlexible
A flexible FIDL response.
WireFlexibleResult
A flexible FIDL result.
WireFrameworkError
An internal framework error.
WireMessageHeader
A FIDL protocol message header

Enums§

Flexible
A flexible FIDL response.
FlexibleResult
A flexible FIDL result.
FrameworkError
An internal framework error.
ProtocolError
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§

ClientHandler
A type which handles incoming events for a client.
ServerHandler
A type which handles incoming events for a server.
ServiceInstance
An instance of a FIDL service.
Transport
A transport layer which can send and receive messages.
TransportExt
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.