Crate rust_cheri_compressed_cap[−][src]
Modules
| c_funcs | Import C functions for CC64,128. |
| cc64 | Implements CompressedCapability for the CC64 capability profile. |
| cc128 | Implements CompressedCapability for the CC128 capability profile. |
| wrappers | Defines easy-to-use wrapper traits for CompressedCapability implementations |
Structs
| CcxBoundsBits | Structure matching the C type |
| CcxCap | Structure matching the C type |
Enums
| Cc64 | Defines the CC64 capability profile as an implementation of the CompressedCapability trait. |
| Cc128 | Defines the CC128 capability profile as an implementation of the CompressedCapability trait. |
Traits
| CompressedCapability | Trait defining an Rust version of the public API for a specific capability type.
A type X implementing CompressedCapability is equivalent to the API provided by |
| FfiNumType | Value which can be converted to T (a NumType). Must also be Default/Copy/Clone/Debug, so CcxCap can derive these. |
| NumType | Trait that the field types defined in CompressedCapability (Length, Offset, Addr) have to implement. This asserts that a) they’re numeric, b) they support Default/Copy/Clone/Debug so that CcxCap can derive these. |
Type Definitions
| Cc64Cap | |
| Cc128Cap |