Module event_stream

Module event_stream 

Source
Available on crate feature event-stream only.
Expand description

Provides Sender/Receiver implementations for Event Stream codegen.

Structs§

EventOrInitialMarshaller
Marshaller wrapper that handles both regular events and initial messages. This is used internally to support initial-request messages in event streams.
EventStreamSender
Input type for Event Streams.
MessageStreamAdapter
Adapts a Stream<SmithyMessageType> to a signed Stream<Bytes> by using the provided message marshaller and signer implementations.
MessageStreamError
An error that occurs within a message stream.
Receiver
Receives Smithy-modeled messages out of an Event Stream.
ReceiverError
An error that occurs within an event stream receiver.

Enums§

EventOrInitial
Wrapper for event stream items that may include an initial-request message. This is used internally to allow initial messages to flow through the signing pipeline.
InitialMessageType

Type Aliases§

BoxError
A generic, boxed error that’s Send, Sync, and 'static.