Enum aws_smithy_http::event_stream::RawMessage
source · pub enum RawMessage {
Decoded(Message),
Invalid(Option<Bytes>),
}
Expand description
Raw message from a Receiver
when a SdkError::ResponseError
is returned.
Variants§
Decoded(Message)
Message was decoded into a valid frame, but failed to unmarshall into a modeled type.
Invalid(Option<Bytes>)
Message failed to be decoded into a valid frame. The raw bytes may not be available in the case where decoding consumed the buffer.
Trait Implementations§
source§impl Debug for RawMessage
impl Debug for RawMessage
source§impl From<&mut SegmentedBuf<Bytes>> for RawMessage
impl From<&mut SegmentedBuf<Bytes>> for RawMessage
source§fn from(buf: &mut SegmentedBuf<Bytes>) -> Self
fn from(buf: &mut SegmentedBuf<Bytes>) -> Self
Converts to this type from the input type.