[][src]Enum pelite::pe32::exports::Export

pub enum Export<'a> {
    Symbol(&'a u32),
    Forward(&'a CStr),
}

Exported symbol.

Variants

Symbol(&'a u32)

Standard exported symbol.

Forward(&'a CStr)

This export is forwarded to another dll.

Format of the string is "DllName.ExportName". For more information see this blog post by Raymond Chen.

Methods

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

pub fn symbol(self) -> Option<u32>[src]

Returns some if the symbol is exported.

pub fn forward(self) -> Option<&'a CStr>[src]

Returns some if the symbol is forwarded.

Trait Implementations

impl<'a> Eq for Export<'a>[src]

impl<'a> Clone for Export<'a>[src]

impl<'a> PartialEq<Export<'a>> for Export<'a>[src]

impl<'a> Copy for Export<'a>[src]

impl<'a> Debug for Export<'a>[src]

impl<'a> Serialize for Export<'a>[src]

Auto Trait Implementations

impl<'a> Sync for Export<'a>

impl<'a> Send for Export<'a>

impl<'a> Unpin for Export<'a>

impl<'a> UnwindSafe for Export<'a>

impl<'a> RefUnwindSafe for Export<'a>

Blanket Implementations

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> From<T> for 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.

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

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

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