pub(crate) struct RCDeserialize {
pass2_buffer_pos: usize,
pass2_buffer_fill: usize,
pass2_buffer: [u8; 68],
}Fields§
§pass2_buffer_pos: usize§pass2_buffer_fill: usize§pass2_buffer: [u8; 68]Implementations§
Source§impl RCDeserialize
impl RCDeserialize
pub(crate) fn buffer_fill( &mut self, buf: &[u8], consumed: usize, goal: usize, ) -> usize
fn unbuffer_val(&mut self, n: usize) -> i64
fn parse_metrics(&mut self) -> Result<RCFrameMetrics, String>
pub(crate) fn parse_summary(&mut self) -> Result<RCSummary, String>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RCDeserialize
impl RefUnwindSafe for RCDeserialize
impl Send for RCDeserialize
impl Sync for RCDeserialize
impl Unpin for RCDeserialize
impl UnwindSafe for RCDeserialize
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> 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