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§

source

fn parse_smithy_primitive(input: &str) -> Result<Self, PrimitiveParseError>
where Self: Sized,

Parses a Smithy primitive from a string.

Implementations on Foreign Types§

source§

impl Parse for bool

source§

impl Parse for f32

source§

impl Parse for f64

source§

impl Parse for i8

source§

impl Parse for i16

source§

impl Parse for i32

source§

impl Parse for i64

Implementors§