pub struct AllocationGrants(/* private fields */);Expand description
Canonical, non-overlapping namespace grants for a host composition.
Implementations§
Source§impl AllocationGrants
impl AllocationGrants
Sourcepub fn new(grants: Vec<MemoryAuthority>) -> Result<Self, AdmissionError>
pub fn new(grants: Vec<MemoryAuthority>) -> Result<Self, AdmissionError>
Validate namespace overlap before runtime bootstrap.
Trait Implementations§
Source§impl Clone for AllocationGrants
impl Clone for AllocationGrants
Source§impl Debug for AllocationGrants
impl Debug for AllocationGrants
impl Eq for AllocationGrants
Source§impl PartialEq for AllocationGrants
impl PartialEq for AllocationGrants
impl StructuralPartialEq for AllocationGrants
Auto Trait Implementations§
impl Freeze for AllocationGrants
impl RefUnwindSafe for AllocationGrants
impl Send for AllocationGrants
impl Sync for AllocationGrants
impl Unpin for AllocationGrants
impl UnsafeUnpin for AllocationGrants
impl UnwindSafe for AllocationGrants
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