pub trait VerifiedSealwhere
Self: Sized,{
// Required method
fn new_unverified(s: String) -> Self;
}Expand description
A private trait for constructing verified identifiers after validation.
Required Methods§
Sourcefn new_unverified(s: String) -> Self
fn new_unverified(s: String) -> Self
used solely in the VerifiedName trait to construct the final value after it has been
verified. This function should never be exposed publicly.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.