Module prelude
Expand description
A “prelude” of common FIDL traits, to be used like use fidl::prelude::*;
.
This module re-exports traits using the as _
syntax, so the glob import
only brings traits into scope for resolving methods and constants. It does
not import the trait names themselves.
Traits§
- _
- A type associated with a
RequestStream
that can be used to send FIDL events or to shut down the request stream. - _
- A marker for a particular FIDL protocol that is also discoverable.
- _
- A marker for a particular FIDL protocol.
- _
- A type which allows querying a remote FIDL server over a channel.
- _
- A stream of requests coming into a FIDL server over a channel.
- _
- A type associated with a particular two-way FIDL method, used by servers to send a response to the client.
- _
- A marker for a particular FIDL service.
- _
- Proxy by which a client sends messages to a FIDL service.
- _
- A request to initiate a connection to a FIDL service.
- _
- A trait to get a reference to the underlying handle of an object.