Trait aws_smithy_types::primitive::Parse [−][src]
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.