[][src]Struct jvm_hprof::Serial

pub struct Serial { /* fields omitted */ }

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

impl Serial[src]

pub fn num(&self) -> u32[src]

The plain serial number.

Trait Implementations

impl Clone for Serial[src]

impl Copy for Serial[src]

impl Debug for Serial[src]

impl Display for Serial[src]

impl Eq for Serial[src]

impl From<u32> for Serial[src]

impl Hash for Serial[src]

impl PartialEq<Serial> for Serial[src]

impl StructuralEq for Serial[src]

impl StructuralPartialEq for Serial[src]

impl UpperHex for Serial[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.