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§
Auto Trait Implementations§
impl RefUnwindSafe for RawMessage
impl Send for RawMessage
impl Sync for RawMessage
impl Unpin for RawMessage
impl UnwindSafe for RawMessage
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.