Expand description
This library provides a synchronous wrapper around fuchsia.io. It is usually better to use the Rust standard library for this (which will use fdio and zxio). The primary user of this library is Starnix which uses this for performance and memory reasons.
Structs§
- Remote
Directory - RemoteDirectory supports iteration of directories and things that you can do to directories via
a file descriptor. Other opterations, such as creating children, can be done via
RemoteIo. Iteration is not safe to be done concurrently because there is a seek pointer;readdirwill resume from the seek position. - Remote
Io - Wraps a proxy and optional stream and provides wrappers around most fuchsia.io methods.
Traits§
- Factory
- This trait is used so that clients can create their own wrappers around types exposed here.
Functions§
- create_
with_ on_ representation - Waits for the fuchsia.io
OnRepresentationevent and then uses the factory to create an an appropriate object. This returns attributes (as requested by the correspondingopencall) that are present in theOnRepresentationevent.