pub struct Codec {
pub family: &'static str,
pub name: &'static str,
pub offers: u64,
pub kept: u64,
pub nanos: u64,
}Expand description
What one codec has cost the process so far.
Fields§
§family: &'static strinteger or string.
name: &'static strThe name a report gives the codec, or CHOOSING.
offers: u64Top level candidates the chooser asked this codec to encode. Zero for CHOOSING.
kept: u64Of those, how many came out smallest and were written. Zero for CHOOSING.
nanos: u64The time those offers took, with everything they cascaded into.
Trait Implementations§
impl Eq for Codec
impl StructuralPartialEq for Codec
Auto Trait Implementations§
impl Freeze for Codec
impl RefUnwindSafe for Codec
impl Send for Codec
impl Sync for Codec
impl Unpin for Codec
impl UnsafeUnpin for Codec
impl UnwindSafe for Codec
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