Skip to main content

DeclassifyRef

Trait DeclassifyRef 

Source
pub trait DeclassifyRef {
    type DeclassifiedRef;

    // Required method
    fn declassify_ref(self) -> Self::DeclassifiedRef;
}
Expand description

A trait for declassifying references to secret types

Required Associated Types§

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl<'a, T: Scalar> DeclassifyRef for &'a [T]

Source§

impl<'a, T> DeclassifyRef for &'a T

Implementors§