pub struct FrameRemainder {
pub decoded: Vec<u8>,
pub escape_pending: bool,
}Expand description
Captures decoded bytes that were buffered when a stream ended without a
terminating END byte.
Fields§
§decoded: Vec<u8>Decoded payload bytes collected before the unexpected end of stream.
escape_pending: booltrue if the decoder ended while waiting for the second byte of an escape sequence.
Implementations§
Trait Implementations§
Source§impl Clone for FrameRemainder
impl Clone for FrameRemainder
Source§fn clone(&self) -> FrameRemainder
fn clone(&self) -> FrameRemainder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FrameRemainder
impl Debug for FrameRemainder
Source§impl Default for FrameRemainder
impl Default for FrameRemainder
Source§fn default() -> FrameRemainder
fn default() -> FrameRemainder
Returns the “default value” for a type. Read more
Source§impl PartialEq for FrameRemainder
impl PartialEq for FrameRemainder
impl Eq for FrameRemainder
impl StructuralPartialEq for FrameRemainder
Auto Trait Implementations§
impl Freeze for FrameRemainder
impl RefUnwindSafe for FrameRemainder
impl Send for FrameRemainder
impl Sync for FrameRemainder
impl Unpin for FrameRemainder
impl UnwindSafe for FrameRemainder
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