pub struct Serial { /* private fields */ }
Expand description
An alternate means of identification used in parallel with Id.
LoadClass, for instance, has both a class_obj_id
and a serial
. In certain cases you might
need to use one or the other. If you were processing StackFrame records and wanted to print
human readable class names (which are available in LoadClass, StackFrame uses
class_serial
, whereas if you were inspecting a class’s fields via crate::heap_dump::Class,
that only has the class’s obj_id
available.
Implementations§
Trait Implementations§
impl Copy for Serial
impl Eq for Serial
impl StructuralPartialEq for Serial
Auto Trait Implementations§
impl Freeze for Serial
impl RefUnwindSafe for Serial
impl Send for Serial
impl Sync for Serial
impl Unpin for Serial
impl UnwindSafe for Serial
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