pub struct DecodeBatch {
pub frames: Vec<Vec<u8>>,
pub invalid_frame_lengths: Vec<usize>,
}Expand description
Complete frames and non-empty frames rejected by configured size bounds.
Fields§
§frames: Vec<Vec<u8>>§invalid_frame_lengths: Vec<usize>Trait Implementations§
Source§impl Debug for DecodeBatch
impl Debug for DecodeBatch
Source§impl Default for DecodeBatch
impl Default for DecodeBatch
Source§fn default() -> DecodeBatch
fn default() -> DecodeBatch
Returns the “default value” for a type. Read more
impl Eq for DecodeBatch
Source§impl PartialEq for DecodeBatch
impl PartialEq for DecodeBatch
impl StructuralPartialEq for DecodeBatch
Auto Trait Implementations§
impl Freeze for DecodeBatch
impl RefUnwindSafe for DecodeBatch
impl Send for DecodeBatch
impl Sync for DecodeBatch
impl Unpin for DecodeBatch
impl UnsafeUnpin for DecodeBatch
impl UnwindSafe for DecodeBatch
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> InterfaceConfigData for Twhere
T: Send + 'static,
impl<T> InterfaceConfigData for Twhere
T: Send + 'static,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more