[][src]Struct jimage::VisitParams

pub struct VisitParams<'file> { /* fields omitted */ }

The parameters to File::visit

Methods

impl<'file> VisitParams<'file>[src]

pub fn module_name_cstr(&self) -> &'file CStr[src]

The module name (e.g. "java.base")

pub fn version_cstr(&self) -> &'file CStr[src]

The module version (e.g. "9" or "9.0")

pub fn package_cstr(&self) -> &'file CStr[src]

The package (e.g. "java/lang")

pub fn name_cstr(&self) -> &'file CStr[src]

The name (e.g. "OuterClass$InnerClass")

pub fn extension_cstr(&self) -> &'file CStr[src]

The file extension (e.g. "class")

pub fn module_name(&self) -> Result<&'file str>[src]

The module name (e.g. "java.base")

pub fn version(&self) -> Result<&'file str>[src]

The module version (e.g. "9" or "9.0")

pub fn package(&self) -> Result<&'file str>[src]

The package (e.g. "java/lang")

pub fn name(&self) -> Result<&'file str>[src]

The name (e.g. "OuterClass$InnerClass")

pub fn extension(&self) -> Result<&'file str>[src]

The file extension (e.g. "class")

pub fn resource(&self) -> Result<Resource<'file>>[src]

Get a resource handle allowing you to read the file in question

Auto Trait Implementations

impl<'file> RefUnwindSafe for VisitParams<'file>

impl<'file> !Send for VisitParams<'file>

impl<'file> !Sync for VisitParams<'file>

impl<'file> Unpin for VisitParams<'file>

impl<'file> UnwindSafe for VisitParams<'file>

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.