Trait aws_smithy_types::primitive::Parse
source · 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.