Trait aws_smithy_eventstream::frame::MarshallMessage

source ·
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§