pub trait Sealer {
// Required methods
fn seal(&self, plain: &str) -> String;
fn open(&self, sealed: &str) -> Option<String>;
}Expand description
What seals a line at rest and opens it: the caller’s, made from the sharing key.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".