Skip to main content

Crate fidl_constants

Crate fidl_constants 

Source
Expand description

This is a simple Rust crate to hold some constants so that they can easily be shared between various different FIDL bindings that are implemented in Rust.

It’s in some ways the moral equivalent of //zircon/system/public/zircon/fidl.h

Constants§

ALLOC_ABSENT_U32
Indicates that an optional value is absent.
ALLOC_ABSENT_U64
Indicates that an optional value is absent.
ALLOC_PRESENT_U32
Indicates that an optional value is present.
ALLOC_PRESENT_U64
Indicates that an optional value is present.
EPITAPH_ORDINAL
Special ordinal signifying an epitaph message.
MAGIC_NUMBER_INITIAL
The current wire format magic number
MAX_HANDLES
The maximum number of handles allowed in a FIDL message.
MAX_RECURSION
The maximum recursion depth of encoding and decoding. Each pointer to an out-of-line object counts as one step in the recursion depth.