Trait aws_smithy_types::primitive::Parse
source · [−]pub trait Parse: Sealed {
fn parse_smithy_primitive(input: &str) -> Result<Self, PrimitiveParseError>
where
Self: Sized;
}
Expand description
Sealed trait for custom parsing of primitive types
Required Methods
fn 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.