#[repr(u32)]pub enum HandleRole {
StandardInputOutput = 1,
IpcChannel = 2,
Regular = 3,
}
Expand description
Handle role information (simplified from HandleType)
Variants§
StandardInputOutput = 1
Standard input/output stream
IpcChannel = 2
Inter-process communication
Regular = 3
Regular usage
Trait Implementations§
Source§impl Clone for HandleRole
impl Clone for HandleRole
Source§fn clone(&self) -> HandleRole
fn clone(&self) -> HandleRole
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 HandleRole
impl Debug for HandleRole
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 HandleRole
impl PartialEq for HandleRole
impl Copy for HandleRole
impl Eq for HandleRole
impl StructuralPartialEq for HandleRole
Auto Trait Implementations§
impl Freeze for HandleRole
impl RefUnwindSafe for HandleRole
impl Send for HandleRole
impl Sync for HandleRole
impl Unpin for HandleRole
impl UnwindSafe for HandleRole
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
)§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.