pub struct RawHandle(pub u64);Expand description
A child-visible, platform-native handle value: a target file-descriptor
number on Unix, or an inherited HANDLE value on Windows.
Passing a RawHandle records intent to retain that child-visible value; it
does not transfer ownership of any parent-side source handle. The owner
must keep the source handle alive until the child exists.
Tuple Fields§
§0: u64Trait Implementations§
impl Copy for RawHandle
impl Eq for RawHandle
impl StructuralPartialEq for RawHandle
Auto Trait Implementations§
impl Freeze for RawHandle
impl RefUnwindSafe for RawHandle
impl Send for RawHandle
impl Sync for RawHandle
impl Unpin for RawHandle
impl UnsafeUnpin for RawHandle
impl UnwindSafe for RawHandle
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