Expand description
Next-generation FIDL Rust bindings library.
Re-exports§
pub use self::decoder::Decoder;
pub use self::decoder::DecoderExt;
pub use self::encoder::Encoder;
pub use self::encoder::EncoderExt;
pub use self::decode::*;
pub use self::encode::*;
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 of4
. - A little-endian
f64
with a guaranteed size and alignment of8
. - A little-endian
i16
with a guaranteed size and alignment of2
. - A little-endian
i32
with a guaranteed size and alignment of4
. - A little-endian
i64
with a guaranteed size and alignment of8
. - A little-endian
u16
with a guaranteed size and alignment of2
. - A little-endian
u32
with a guaranteed size and alignment of4
. - A little-endian
u64
with a guaranteed size and alignment of8
.
Enums§
- An internal framework error.
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§
- A group of eight bytes, aligned to an 8-byte boundary.
Unions§
- A FIDL envelope
- A Zircon handle.
- A raw FIDL pointer