#[repr(transparent)]pub struct AddressSpace(pub Arc<AddressSpaceInner>);
🔬This is a nightly-only experimental API. (
kernel_virtual_memory
)Tuple Fields§
§0: Arc<AddressSpaceInner>
🔬This is a nightly-only experimental API. (
kernel_internals
)Implementations§
Source§impl AddressSpace
impl AddressSpace
pub fn as_ptr(&self) -> NonNull<AddressSpaceInner>
🔬This is a nightly-only experimental API. (
kernel_virtual_memory
)pub fn as_ref(&self) -> &AddressSpaceInner
🔬This is a nightly-only experimental API. (
kernel_virtual_memory
)Sourcepub unsafe fn load(&self)
🔬This is a nightly-only experimental API. (kernel_virtual_memory
)
pub unsafe fn load(&self)
kernel_virtual_memory
)§Safety
The AddressSpace must stay alive until a new AddressSpace gets loaded
pub fn clone_ref(this: &Self) -> AddressSpace
🔬This is a nightly-only experimental API. (
kernel_virtual_memory
)pub fn downgrade(this: &Self) -> Weak
🔬This is a nightly-only experimental API. (
kernel_virtual_memory
)Trait Implementations§
Auto Trait Implementations§
impl Freeze for AddressSpace
impl !RefUnwindSafe for AddressSpace
impl !Send for AddressSpace
impl !Sync for AddressSpace
impl Unpin for AddressSpace
impl !UnwindSafe for AddressSpace
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more