pub trait FromGp: Sized {
// Required methods
fn try_from<'s>(input: &'s str) -> Result<(Self, &'s str), ParseError<'s>>;
fn name() -> &'static str;
}Required Methods§
fn try_from<'s>(input: &'s str) -> Result<(Self, &'s str), ParseError<'s>>
fn name() -> &'static str
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".