Module endpoints

Source
Expand description

Wrapper types for the endpoints of a connection.

Structs§

ClientEnd
The Client end of a FIDL connection.
ServerEnd
The Server end of a FIDL connection.
ZirconClient
The fake “client” produced by ProxyHasDomain. Analogous to an FDomain client.

Enums§

MethodType
The type of a client-initiated method.

Traits§

ControlHandle
A type associated with a RequestStream that can be used to send FIDL events or to shut down the request stream.
DiscoverableProtocolMarker
A marker for a particular FIDL protocol that is also discoverable.
ProtocolMarker
A marker for a particular FIDL protocol.
Proxy
A type which allows querying a remote FIDL server over a channel.
ProxyHasDomain
This gives native Zircon proxies a domain method like FDomain proxies have. This makes it easier in some cases to build the same code for both FDomain and regular FIDL.
RequestStream
A stream of requests coming into a FIDL server over a channel.
Responder
A type associated with a particular two-way FIDL method, used by servers to send a response to the client.
ServiceMarker
A marker for a particular FIDL service.
ServiceProxy
Proxy by which a client sends messages to a FIDL service.
ServiceRequest
A request to initiate a connection to a FIDL service.
SynchronousProxy
A type which allows querying a remote FIDL server over a channel, blocking the calling thread.

Functions§

create_endpoints
Creates client and server endpoints connected to by a channel.
create_proxy
Create a client proxy and a server endpoint connected to it by a channel.
create_proxy_and_stream
Create a request stream and proxy connected to one another.
create_request_stream
Create a request stream and a client endpoint connected to it by a channel.
create_sync_proxy
Create a synchronous client proxy and a server endpoint connected to it by a channel.
create_sync_proxy_and_stream
Create a request stream and synchronous proxy connected to one another.

Type Aliases§

Request
The Request type associated with a Marker.