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::*;
pub use self::fuchsia::*;
Modules§
- Provides decoding for FIDL types.
- The core
Decoder
trait. - Provides encoding for FIDL types.
- The core
Encoder
trait. - Fuchsia-specific FIDL extensions.
- FIDL protocols.
Macros§
- Generate a flags type.
- Destructures a type into
Structs§
- A marker type for client endpoints (temporary)
- A resource associated with an endpoint.
- An owned value in borrowed backing memory.
- A raw FIDL union
- A marker type for server ends of protocols (temporary)
- An initialized but potentially invalid value.
- A boxed (optional) FIDL value.
- 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.
- 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 raw FIDL pointer