Expand description
Safe bindings for the driver runtime arena stable ABI
Structs§
- Arena
- Implements a memory arena allocator to be used with the Fuchsia Driver Runtime when sending and receiving from channels.
- Arena
Box - Holds a reference to data of type
T
in anArena
with lifetime'a
, and ensures that the object is properly dropped before theArena
goes out of scope. - ArenaRc
- An equivalent to
ArenaBox
that holds onto a reference to the arena to allow it to have static lifetime, and implementsClone
allowing it to be shared. Since it’s shared, you can’t get a mutable reference to it back without usingSelf::try_unwrap
to get the innerArenaStaticBox
. - Arena
Static Box - An equivalent to
ArenaBox
that holds onto a reference to the arena to allow it to have static lifetime. - Arena
Weak - A weak reference to an
ArenaRc
. - Into
Iter - The implementation for an
IntoIterator
of anArenaBox
of a slice that manages the memory behind it and ensures that it’s cleaned up.