Skip to main content

CapType

Trait CapType 

Source
pub trait CapType:
    Copy
    + Clone
    + Eq
    + PartialEq
    + Ord
    + PartialOrd
    + Hash {
    const NAME: &'static str;
}
Expand description

Trait for marker types corresponding to capability types in the seL4 API.

Implementors are used to mark instantiations of Cap.

Required Associated Constants§

Source

const NAME: &'static str

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl CapType for AsidControl

Source§

const NAME: &'static str = "AsidControl"

Source§

impl CapType for AsidPool

Source§

const NAME: &'static str = "AsidPool"

Source§

impl CapType for CNode

Source§

const NAME: &'static str = "CNode"

Source§

impl CapType for DomainSet

Source§

const NAME: &'static str = "DomainSet"

Source§

impl CapType for Endpoint

Source§

const NAME: &'static str = "Endpoint"

Source§

impl CapType for GigaPage

Source§

const NAME: &'static str = "GigaPage"

Source§

impl CapType for IrqControl

Source§

const NAME: &'static str = "IrqControl"

Source§

impl CapType for IrqHandler

Source§

const NAME: &'static str = "IrqHandler"

Source§

impl CapType for MegaPage

Source§

const NAME: &'static str = "MegaPage"

Source§

impl CapType for Notification

Source§

const NAME: &'static str = "Notification"

Source§

impl CapType for Null

Source§

const NAME: &'static str = "Null"

Source§

impl CapType for PageTable

Source§

const NAME: &'static str = "PageTable"

Source§

impl CapType for Tcb

Source§

const NAME: &'static str = "Tcb"

Source§

impl CapType for Unspecified

Source§

const NAME: &'static str = "Unspecified"

Source§

impl CapType for UnspecifiedIntermediateTranslationTable

Source§

const NAME: &'static str = "UnspecifiedIntermediateTranslationTable"

Source§

impl CapType for UnspecifiedPage

Source§

const NAME: &'static str = "UnspecifiedPage"

Source§

impl CapType for Untyped

Source§

const NAME: &'static str = "Untyped"

Source§

impl CapType for _4kPage

Source§

const NAME: &'static str = "_4kPage"