#[repr(C)]pub struct PredsyncEncodeInfo {
pub len: usize,
pub n_reset: u8,
pub n_included: u8,
pub n_predicted: u8,
pub n_refresh: u8,
}Expand description
Counts from one successful encode.
Fields§
§len: usizeNumber of bytes written.
n_reset: u8Fields sent as resets.
n_included: u8Fields sent verbatim.
n_predicted: u8Fields omitted because the receiver can predict them.
n_refresh: u8Fields sent as refreshes.
Trait Implementations§
Source§impl Clone for PredsyncEncodeInfo
impl Clone for PredsyncEncodeInfo
impl Copy for PredsyncEncodeInfo
Source§impl Debug for PredsyncEncodeInfo
impl Debug for PredsyncEncodeInfo
Auto Trait Implementations§
impl Freeze for PredsyncEncodeInfo
impl RefUnwindSafe for PredsyncEncodeInfo
impl Send for PredsyncEncodeInfo
impl Sync for PredsyncEncodeInfo
impl Unpin for PredsyncEncodeInfo
impl UnsafeUnpin for PredsyncEncodeInfo
impl UnwindSafe for PredsyncEncodeInfo
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