[][src]Struct jvm_hprof::heap_dump::Class

pub struct Class<'a> { /* fields omitted */ }

Analogous to a java.lang.Class object.

A notable absence from this is the class name, which is available via crate::LoadClass records.

Implementations

impl<'a> Class<'a>[src]

pub fn obj_id(&self) -> Id[src]

pub fn stack_trace_serial(&self) -> Serial[src]

pub fn super_class_obj_id(&self) -> Option<Id>[src]

None when there is no superclass, e.g. for java.lang.Object.

pub fn class_loader_obj_id(&self) -> Option<Id>[src]

pub fn signers_obj_id(&self) -> Option<Id>[src]

pub fn protection_domain_obj_id(&self) -> Option<Id>[src]

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

impl<'a> Class<'a>[src]

pub fn static_fields(&self) -> StaticFieldEntries<'_>[src]

Iterate over StaticFieldEntry data.

pub fn instance_field_descriptors(&self) -> FieldDescriptors<'_>

Notable traits for FieldDescriptors<'a>

impl<'a> Iterator for FieldDescriptors<'a> type Item = Result<FieldDescriptor, Err<(&'a [u8], ErrorKind)>>;
[src]

Iterate over FieldDescriptor data.

Contains only the instance fields defined in this class, not in superclasses.

An object's fields are serialized with the concrete type's fields first, then that class's superclass, and so forth, up to the root of the hierarchy.

Auto Trait Implementations

impl<'a> RefUnwindSafe for Class<'a>[src]

impl<'a> Send for Class<'a>[src]

impl<'a> Sync for Class<'a>[src]

impl<'a> Unpin for Class<'a>[src]

impl<'a> UnwindSafe for Class<'a>[src]

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, 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.