pub trait FromCtx<Ctx: Copy = (), This: ?Sized = [u8]> {
// Required method
fn from_ctx(this: &This, ctx: Ctx) -> Self;
}Expand description
Reads Self from This using the context Ctx; must not fail
Required Methods§
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.