pub enum Inheritance {
NotInheritable,
Inheritable,
}Expand description
Whether a child process can inherit a duplicate.
This is the duplicate’s own attribute, set by the call and independent of the source’s: an inheritable source can be duplicated to a handle that is not, and the reverse.
Variants§
NotInheritable
Not inheritable: a process this one creates does not receive the handle.
Inheritable
Inheritable: a process this one creates receives the handle when it is created asking to inherit handles.
Trait Implementations§
Source§impl Clone for Inheritance
impl Clone for Inheritance
impl Copy for Inheritance
Source§impl Debug for Inheritance
impl Debug for Inheritance
impl Eq for Inheritance
Source§impl Hash for Inheritance
impl Hash for Inheritance
Source§impl PartialEq for Inheritance
impl PartialEq for Inheritance
impl StructuralPartialEq for Inheritance
Auto Trait Implementations§
impl Freeze for Inheritance
impl RefUnwindSafe for Inheritance
impl Send for Inheritance
impl Sync for Inheritance
impl Unpin for Inheritance
impl UnsafeUnpin for Inheritance
impl UnwindSafe for Inheritance
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