pub struct DecodeReport { /* private fields */ }Expand description
A report of the source and destination bytes used during in-place decoding
Implementations§
Source§impl DecodeReport
impl DecodeReport
Sourcepub fn parsed_size(&self) -> usize
pub fn parsed_size(&self) -> usize
The number of source bytes parsed.
Sourcepub fn frame_size(&self) -> usize
pub fn frame_size(&self) -> usize
The decoded frame size.
Trait Implementations§
Source§impl Clone for DecodeReport
impl Clone for DecodeReport
Source§fn clone(&self) -> DecodeReport
fn clone(&self) -> DecodeReport
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 DecodeReport
impl Debug for DecodeReport
Source§impl<'de> Deserialize<'de> for DecodeReport
impl<'de> Deserialize<'de> for DecodeReport
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Format for DecodeReport
impl Format for DecodeReport
Source§impl PartialEq for DecodeReport
impl PartialEq for DecodeReport
Source§impl Serialize for DecodeReport
impl Serialize for DecodeReport
impl Copy for DecodeReport
impl Eq for DecodeReport
impl StructuralPartialEq for DecodeReport
Auto Trait Implementations§
impl Freeze for DecodeReport
impl RefUnwindSafe for DecodeReport
impl Send for DecodeReport
impl Sync for DecodeReport
impl Unpin for DecodeReport
impl UnwindSafe for DecodeReport
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