pub enum HandleType {
StandardInputOutput(StandardInputOutput),
IpcChannel,
Regular,
}
Expand description
Role-based handle classification
This enum describes HOW a handle is being used, not WHAT the underlying KernelObject is. The same KernelObject (e.g., a File) could be used in different roles by different handles.
Variants§
StandardInputOutput(StandardInputOutput)
Standard input/output/error streams
IpcChannel
Inter-process communication channel
Regular
Default/generic usage
Trait Implementations§
Source§impl Clone for HandleType
impl Clone for HandleType
Source§fn clone(&self) -> HandleType
fn clone(&self) -> HandleType
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for HandleType
impl Debug for HandleType
Source§impl From<HandleType> for HandleRole
Convert from HandleType to HandleRole for user space
impl From<HandleType> for HandleRole
Convert from HandleType to HandleRole for user space
Source§fn from(handle_type: HandleType) -> Self
fn from(handle_type: HandleType) -> Self
Converts to this type from the input type.
Source§impl PartialEq for HandleType
impl PartialEq for HandleType
impl StructuralPartialEq for HandleType
Auto Trait Implementations§
impl Freeze for HandleType
impl RefUnwindSafe for HandleType
impl Send for HandleType
impl Sync for HandleType
impl Unpin for HandleType
impl UnwindSafe for HandleType
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)