aws_smithy_types::primitive

Trait 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§