Trait secgate::Crossing

source ·
pub unsafe auto trait Crossing { }
Expand description

An auto trait that limits the types that can be send across to another compartment. These are:

  1. Types other than references, UnsafeCell, raw pointers, slices.
  2. #[repr(C)] structs and enums made from Crossing types.

Safety

The type must meet the above requirements.

Implementations on Foreign Types§

source§

impl<T> !Crossing for &[T]

source§

impl<T> !Crossing for UnsafeCell<T>

source§

impl<T> !Crossing for *const T

source§

impl<T> !Crossing for &mut T

source§

impl<T> !Crossing for *mut T

source§

impl<T> !Crossing for &T

source§

impl<T> !Crossing for &mut [T]

Implementors§

Auto implementors§

§

impl Crossing for GateCallInfo

§

impl<Args> Crossing for Arguments<Args>

§

impl<F> !Crossing for SecGateInfo<F>

§

impl<T> Crossing for Return<T>