pub struct SlotInfo {
pub id: SlotId,
pub capacity_bytes: usize,
}Expand description
A single reusable activation slot: an arena region the executor allocates once and hands, in turn, to every value assigned to it (their lifetimes are guaranteed disjoint).
Fields§
§id: SlotId§capacity_bytes: usizeBytes the executor must allocate for this slot: the max size of any value assigned to it.
Trait Implementations§
impl Copy for SlotInfo
impl Eq for SlotInfo
impl StructuralPartialEq for SlotInfo
Auto Trait Implementations§
impl Freeze for SlotInfo
impl RefUnwindSafe for SlotInfo
impl Send for SlotInfo
impl Sync for SlotInfo
impl Unpin for SlotInfo
impl UnsafeUnpin for SlotInfo
impl UnwindSafe for SlotInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more