Type Alias secgate::RawSecGateInfo

source ·
pub type RawSecGateInfo = SecGateInfo<usize>;
Expand description

Non-generic and non-pointer-based SecGateInfo, for use during dynamic linking.

Aliased Type§

struct RawSecGateInfo {
    pub imp: usize,
    /* private fields */
}

Fields§

§imp: usize

A pointer to the implementation entry function. This must be a pointer, and we statically check that is has the same size as usize (sorry cheri, we’ll fix this another time)

Implementations§

source§

impl<F> SecGateInfo<F>

source

pub const fn new(imp: F, name: &'static CStr) -> Self

source

pub fn name(&self) -> &CStr

Trait Implementations§

source§

impl<F: Send> Send for SecGateInfo<F>

source§

impl<F: Sync> Sync for SecGateInfo<F>