Enum aws_smithy_eventstream::frame::DecodedFrame
source · [−]pub enum DecodedFrame {
Incomplete,
Complete(Message),
}
Expand description
Return value from MessageFrameDecoder
.
Variants
Incomplete
There wasn’t enough data in the buffer to decode a full message.
Complete(Message)
There was enough data in the buffer to decode.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for DecodedFrame
impl Send for DecodedFrame
impl Sync for DecodedFrame
impl Unpin for DecodedFrame
impl UnwindSafe for DecodedFrame
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more