pub struct AddressSpaceMembarrierId(/* private fields */);Expand description
Stable identity of one Linux-style address-space generation.
Distinct scheduler resource tokens may carry different
AddressSpaceHandle values while referring to the same shared mm.
Runtime providers must therefore derive this identity from the shared
address-space owner rather than from the token allocation itself.
Implementations§
Source§impl AddressSpaceMembarrierId
impl AddressSpaceMembarrierId
Sourcepub const unsafe fn from_raw(raw: usize) -> Self
pub const unsafe fn from_raw(raw: usize) -> Self
Creates an identity from a runtime-owned shared address-space object.
§Safety
A non-zero value must remain unique for the complete lifetime of the
corresponding address-space generation. It must not be reused while an
AddressSpaceMembarrierState containing it can remain rq-visible.
Trait Implementations§
Source§impl Clone for AddressSpaceMembarrierId
impl Clone for AddressSpaceMembarrierId
Source§fn clone(&self) -> AddressSpaceMembarrierId
fn clone(&self) -> AddressSpaceMembarrierId
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AddressSpaceMembarrierId
Source§impl Debug for AddressSpaceMembarrierId
impl Debug for AddressSpaceMembarrierId
impl Eq for AddressSpaceMembarrierId
Source§impl Hash for AddressSpaceMembarrierId
impl Hash for AddressSpaceMembarrierId
Source§impl PartialEq for AddressSpaceMembarrierId
impl PartialEq for AddressSpaceMembarrierId
impl StructuralPartialEq for AddressSpaceMembarrierId
Auto Trait Implementations§
impl Freeze for AddressSpaceMembarrierId
impl RefUnwindSafe for AddressSpaceMembarrierId
impl Send for AddressSpaceMembarrierId
impl Sync for AddressSpaceMembarrierId
impl Unpin for AddressSpaceMembarrierId
impl UnsafeUnpin for AddressSpaceMembarrierId
impl UnwindSafe for AddressSpaceMembarrierId
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