pub enum DumpFormat {
Text,
Proto,
}Expand description
Output format for ProfConfig::dump_at_exit.
Mirrors MI_PROF_FORMAT_TEXT / MI_PROF_FORMAT_PROTO (include/mimalloc/profile.h).
Variants§
Text
Legacy “heap profile:” text format (see prof::dump_to_vec).
Proto
Binary pprof profile.proto format (see prof::dump_proto_to_vec).
Trait Implementations§
Source§impl Clone for DumpFormat
impl Clone for DumpFormat
Source§fn clone(&self) -> DumpFormat
fn clone(&self) -> DumpFormat
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DumpFormat
Source§impl Debug for DumpFormat
impl Debug for DumpFormat
Source§impl Default for DumpFormat
impl Default for DumpFormat
Source§fn default() -> DumpFormat
fn default() -> DumpFormat
Returns the “default value” for a type. Read more
impl Eq for DumpFormat
Source§impl PartialEq for DumpFormat
impl PartialEq for DumpFormat
impl StructuralPartialEq for DumpFormat
Auto Trait Implementations§
impl Freeze for DumpFormat
impl RefUnwindSafe for DumpFormat
impl Send for DumpFormat
impl Sync for DumpFormat
impl Unpin for DumpFormat
impl UnsafeUnpin for DumpFormat
impl UnwindSafe for DumpFormat
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