pub trait FromPlain: Sized {
type Err;
// Required method
fn from_plain(s: &str) -> Result<Self, Self::Err>;
}
Expand description
Parse a value from its Conjure PLAIN string representation.
Required Associated Types§
Required Methods§
Sourcefn from_plain(s: &str) -> Result<Self, Self::Err>
fn from_plain(s: &str) -> Result<Self, Self::Err>
Parse a value from its Conjure PLAIN string representation.
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.