aws_smithy_eventstream::frame

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