vfs::test_utils

Module node

Source
Expand description

Helper methods for the NodeProxy objects.

Traits§

  • This trait repeats parts of the NodeProxy trait, and is implemented for NodeProxy, FileProxy, and DirectoryProxy, which all share the same API. FIDL currently does not expose the API inheritance, so with this trait we have a workaround. As soon as FIDL will export the necessary information we should remove this trait, as it is just a workaround. The downsides is that this mapping needs to be manually updated, and that it is not something all the users of FIDL of NodeProxy would be familiar with - unnecessary complexity.

Functions§