struct OpenHandle {
kind: HandleKind,
owner: u64,
}Fields§
§kind: HandleKind§owner: u64PID/TID of the process that opened this handle.
All subsequent operations on the handle must come from the same
sender; any other sender gets EBADF. Without this check, any
process that guesses a file_id could read driver registers or
write PCI config across processes.
Auto Trait Implementations§
impl Freeze for OpenHandle
impl RefUnwindSafe for OpenHandle
impl Send for OpenHandle
impl Sync for OpenHandle
impl Unpin for OpenHandle
impl UnsafeUnpin for OpenHandle
impl UnwindSafe for OpenHandle
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