#[repr(u16)]pub enum CapabilityType {
Invalid = 0,
Endpoint = 1,
Memory = 2,
Process = 3,
Interrupt = 4,
Channel = 5,
}Expand description
Capability types
Variants§
Invalid = 0
Invalid capability
Endpoint = 1
Endpoint capability for message passing
Memory = 2
Memory region capability
Process = 3
Process capability
Interrupt = 4
Interrupt capability
Channel = 5
Channel capability for async IPC
Trait Implementations§
Source§impl Clone for CapabilityType
impl Clone for CapabilityType
Source§fn clone(&self) -> CapabilityType
fn clone(&self) -> CapabilityType
Returns a duplicate 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 CapabilityType
impl Debug for CapabilityType
Source§impl PartialEq for CapabilityType
impl PartialEq for CapabilityType
impl Copy for CapabilityType
impl Eq for CapabilityType
impl StructuralPartialEq for CapabilityType
Auto Trait Implementations§
impl Freeze for CapabilityType
impl RefUnwindSafe for CapabilityType
impl Send for CapabilityType
impl Sync for CapabilityType
impl Unpin for CapabilityType
impl UnwindSafe for CapabilityType
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)