Enum rust_cheri_compressed_cap::Cc64[][src]

pub enum Cc64 {}

Defines the CC64 capability profile as an implementation of the CompressedCapability trait.

Empty enum, so it cannot be itself constructed. If you want a CC64 capability, instantiate CC64::Cap.

Derives Debug, Copy, Clone so that CcxCap can derive them too.

Trait Implementations

impl Clone for Cc64[src]

impl CompressedCapability for Cc64[src]

type Length = u64

ccx_length_t Rust-land equivalent - should be a superset of Addr

type Offset = i64

ccx_offset_t Rust-land equivalent - should be a superset of Addr

type Addr = u32

ccx_addr_t equivalent

type FfiLength = u64

ccx_length_t C-land equivalent - should have a memory layout identical to the C ccx_length_t. This is separate from Length because for 128-bit types the Rust and C versions may not look the same. In practice, we just assume they are the same (see crate::c_funcs documentation). Read more

type FfiOffset = i64

ccx_offset_t C-land equivalent - should have a memory layout identical to the C ccx_offset_t. See Self::FfiLength for an explanation. Read more

const MAX_REPRESENTABLE_OTYPE: u32[src]

_CC_N(OTYPE_UNSEALED_SIGNED) = (((int64_t)-1) - 0u)```
The OTYPE field is 4 bits (50:47) in CC64

impl Debug for Cc64[src]

impl Copy for Cc64[src]

Auto Trait Implementations

impl RefUnwindSafe for Cc64

impl Send for Cc64

impl Sync for Cc64

impl Unpin for Cc64

impl UnwindSafe for Cc64

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> CheriRVFuncs<T> for T where
    T: CompressedCapability,
    <T as CompressedCapability>::Offset: TryInto<<T as CompressedCapability>::Addr>, 
[src]

type Cap = CcxCap<T>

type CapAddrInt = <T as CompressedCapability>::Addr

type CapAddrBits = <T as CompressedCapability>::Addr

type CapLen = <T as CompressedCapability>::Length

type OType = u32

type Perms = u32

type Flags = u8

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.