pub struct ProcessOwner { /* private fields */ }Expand description
A process identity captured when a resource is opened.
The marker is process-private and lives until exit. Checking ownership performs one atomic load and does not call into the kernel.
Implementations§
Trait Implementations§
Source§impl Clone for ProcessOwner
impl Clone for ProcessOwner
impl Copy for ProcessOwner
Auto Trait Implementations§
impl Forget for ProcessOwner
impl Freeze for ProcessOwner
impl Move for ProcessOwner
impl RefUnwindSafe for ProcessOwner
impl Send for ProcessOwner
impl Sync for ProcessOwner
impl Unpin for ProcessOwner
impl UnsafeUnpin for ProcessOwner
impl UnwindSafe for ProcessOwner
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