pub trait MarshallMessage: Debug {
    type Input;

    // Required method
    fn marshall(&self, input: Self::Input) -> Result<Message, Error>;
}
Expand description

Converts a Smithy modeled Event Stream type into a Message.

Required Associated Types§

source

type Input

Smithy modeled input type to convert from.

Required Methods§

source

fn marshall(&self, input: Self::Input) -> Result<Message, Error>

Implementors§