pub trait UnmarshallMessage: Debug {
    type Output;
    type Error;

    // Required method
    fn unmarshall(
        &self,
        message: &Message,
    ) -> Result<UnmarshalledMessage<Self::Output, Self::Error>, Error>;
}
Expand description

Converts an Event Stream Message into a Smithy modeled type.

Required Associated Types§

source

type Output

Smithy modeled type to convert into.

source

type Error

Smithy modeled error to convert into.

Required Methods§

source

fn unmarshall( &self, message: &Message, ) -> Result<UnmarshalledMessage<Self::Output, Self::Error>, Error>

Implementors§