Crate fidl

source ·
Expand description

Library and runtime for fidl bindings.

Re-exports

pub use server::ServeInner;
pub use handle::*;

Modules

An implementation of a client for a fidl interface.
Encoding contains functions and traits for FIDL encoding and decoding.
Wrapper types for the endpoints of a connection.
Epitaph support for Channel and AsyncChannel.
A portable representation of handle-like objects for fidl.
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.
An implementation of a server for a fidl interface.

Macros

No-op implementation of duration_begin, when FIDL tracing is disabled.
No-op implementation of duration_end, when FIDL tracing is disabled.
Implements the FIDL Encodable and Decodable traits for a struct representing a FIDL bits type. The struct must have been generated by the bitflags crate.
Implements the FIDL Encodable and Decodable traits for a struct having the form pub struct Name; representing an empty FIDL struct.
Implements the FIDL Encodable and Decodable traits for an enum representing a FIDL strict enum.
Implements the FIDL Encodable and Decodable traits for a struct representing a FIDL struct.
Implements the FIDL Encodable and Decodable traits for a #[repr(C)] struct representing a FIDL struct, encoding and decoding by copying. If there is no padding, it does it with a single memcpy (via Layout::supports_simple_copy). Otherwise, it copies individual fields.
Implements the FIDL Encodable and Decodable traits for a struct representing a FIDL table. All the struct’s fields must be Options, except for the pub __non_exhaustive: () field.
Implements the FIDL Encodable and Decodable traits for an enum representing a FIDL union.
A macro for implementing the Encodable and Decodable traits for a type which implements the fuchsia_zircon::HandleBased trait.
No-op implementation of trace_blob, when FIDL tracing is disabled.
Creates a type that wraps a value and provides object type and rights information.

Enums

The error type used by FIDL operations.

Type Definitions

A specialized Result type for FIDL operations.