Skip to main content

Declassify

Trait Declassify 

Source
pub trait Declassify {
    type Declassified;

    // Required method
    fn declassify(self) -> Self::Declassified;
}
Expand description

A trait for declassifying secret types into public types

Required Associated Types§

Required Methods§

Source

fn declassify(self) -> Self::Declassified

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§