Crate fidl_next

source ·
Expand description

Next-generation FIDL Rust bindings library.

Re-exports§

Modules§

  • Provides decoding for FIDL types.
  • The core Decoder trait and a basic implementation of it.
  • Provides encoding for FIDL types.
  • The core Encoder trait and a basic implementation of it.

Macros§

  • Destructures a type into

Structs§

  • An object representing a Zircon handle.
  • An owned value in borrowed backing memory.
  • A raw FIDL union
  • An initialized but potentially invalid value.
  • A boxed (optional) FIDL value.
  • An optional Zircon handle.
  • An optional FIDL string
  • An optional FIDL vector
  • A FIDL string
  • A FIDL table
  • A FIDL vector
  • A little-endian f32 with a guaranteed size and alignment of 4.
  • A little-endian f64 with a guaranteed size and alignment of 8.
  • A little-endian i16 with a guaranteed size and alignment of 2.
  • A little-endian i32 with a guaranteed size and alignment of 4.
  • A little-endian i64 with a guaranteed size and alignment of 8.
  • A little-endian u16 with a guaranteed size and alignment of 2.
  • A little-endian u32 with a guaranteed size and alignment of 4.
  • A little-endian u64 with a guaranteed size and alignment of 8.

Enums§

Constants§

  • FIDL alignment, used for buffer alignment to ensure decoding in-place is possible.

Traits§

  • Types for which any bit pattern is valid.
  • A decoder which support Zircon handles.
  • An encoder which supports Zircon handles.
  • Types that can be converted to an immutable slice of initialized bytes.
  • From conversions which take from a mutable reference.

Type Aliases§

Unions§

Derive Macros§