class InferredHandleInfo
Defined at line 277 of file ../../src/lib/fidl_codec/semantic.h
Holds the information we have inferred for a handle.
Usually we can associate a type to a handle.
Depending on the type, we can also associate:
- a path (for example for directories and files).
- a file descriptor (for example for sockets).
Public Methods
std::string_view Convert (uint32_t type)
Convert a handle type (found in zircon/system/public/zircon/processargs.h) into a string.
Defined at line 276 of file ../../src/lib/fidl_codec/semantic.cc
void InferredHandleInfo ()
Defined at line 279 of file ../../src/lib/fidl_codec/semantic.h
void InferredHandleInfo (std::string_view type)
Defined at line 281 of file ../../src/lib/fidl_codec/semantic.h
void InferredHandleInfo (std::string_view type, int64_t fd, std::string_view attributes)
Defined at line 283 of file ../../src/lib/fidl_codec/semantic.h
void InferredHandleInfo (std::string_view type, std::string_view path, std::string_view attributes)
Defined at line 286 of file ../../src/lib/fidl_codec/semantic.h
void InferredHandleInfo (std::string_view type, int64_t fd, std::string_view path, std::string_view attributes)
Defined at line 289 of file ../../src/lib/fidl_codec/semantic.h
const std::string & type ()
Defined at line 293 of file ../../src/lib/fidl_codec/semantic.h
int64_t fd ()
Defined at line 294 of file ../../src/lib/fidl_codec/semantic.h
const std::string & path ()
Defined at line 295 of file ../../src/lib/fidl_codec/semantic.h
const std::string & attributes ()
Defined at line 296 of file ../../src/lib/fidl_codec/semantic.h
void Display (PrettyPrinter & printer)
Display the information we have about a handle.
Defined at line 321 of file ../../src/lib/fidl_codec/semantic.cc