pub struct SegmentEntry {
pub range: Range<Paddr>,
}Expand description
Per-Segment entry in the store. Represents one outstanding
Segment<M> covering the contiguous physical range range.
Per exec Segment::relate_regions: every frame slot in range
carries one pending frame_obligations entry for this segment. The
frame’s ref_count >= 1 is bumped by the segment’s owning reference
(one per frame); the segment does not hold a separate Frame
handle, so the embedding’s frames map is unrelated to per-segment
frame refcounting.
Multiple SegmentEntrys may overlap (e.g. after clone); each
independently contributes +1 to every covered slot’s obligation
count and ref_count.
Fields§
§range: Range<Paddr>Auto Trait Implementations§
impl Freeze for SegmentEntry
impl RefUnwindSafe for SegmentEntry
impl Send for SegmentEntry
impl Sync for SegmentEntry
impl Unpin for SegmentEntry
impl UnsafeUnpin for SegmentEntry
impl UnwindSafe for SegmentEntry
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