pub trait Parse: Sealed {
// Required method
fn parse_smithy_primitive(input: &str) -> Result<Self, PrimitiveParseError>
where Self: Sized;
}Expand description
Sealed trait for custom parsing of primitive types
Required Methods§
Sourcefn parse_smithy_primitive(input: &str) -> Result<Self, PrimitiveParseError>where
Self: Sized,
fn parse_smithy_primitive(input: &str) -> Result<Self, PrimitiveParseError>where
Self: Sized,
Parses a Smithy primitive from a string.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".