Expand description
Fallible, OOM-handling collections.
Structs§
- Entity
Set - Like
cranelift_entity::EntitySetbut enforces fallible allocation for all methods that allocate. - Primary
Map - Like
cranelift_entity::PrimaryMapbut enforces fallible allocation for all methods that allocate. - Secondary
Map - Like
cranelift_entity::SecondaryMapbut all allocation is fallible. - Vec
- Like
std::vec::Vecbut all methods that allocate force handling allocation failure.
Traits§
- TryNew
- Extension trait providing fallible allocation for types like
Arc<T>andBox<T>.
Functions§
- try_new
- Helper function to invoke
<T as TryNew>::try_new.