pub struct Sendable { /* private fields */ }
Expand description

Marker type that indicates you expect everything in the DynamicArena to be Send

Although this prevents you from allocating non-Send types in the arena, it allows you to Send the dynamic itself arena across threads. We can’t safely implement Send for DynamicArena without this bound, since you could otherwise place a Rc in the arena, send it across threads, and then proceed to drop the arena and mutate the reference count.

Trait Implementations

Create an arena corresponding to this type of thread-safety

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.