[][src]Enum wasmtime_environ::CompiledFunctionUnwindInfo

pub enum CompiledFunctionUnwindInfo {
    None,
    Windows(Vec<u8>),
    FrameLayout(Vec<u8>, usizeVec<FDERelocEntry>),
}

Compiled function unwind information.

Variants

None

No info.

Windows(Vec<u8>)

Windows UNWIND_INFO.

FrameLayout(Vec<u8>, usizeVec<FDERelocEntry>)

Frame layout info.

Methods

impl CompiledFunctionUnwindInfo[src]

pub fn new(isa: &dyn TargetIsa, context: &Context) -> Self[src]

Constructs unwind info object.

pub fn is_empty(&self) -> bool[src]

Retuns true is no unwind info data.

pub fn len(&self) -> usize[src]

Returns size of serilized unwind info.

pub fn serialize(
    &self,
    dest: &mut [u8],
    relocs: &mut Vec<CompiledFunctionUnwindInfoReloc>
)
[src]

Serializes data into byte array.

Trait Implementations

impl Clone for CompiledFunctionUnwindInfo[src]

impl Debug for CompiledFunctionUnwindInfo[src]

impl<'de> Deserialize<'de> for CompiledFunctionUnwindInfo[src]

impl Eq for CompiledFunctionUnwindInfo[src]

impl PartialEq<CompiledFunctionUnwindInfo> for CompiledFunctionUnwindInfo[src]

impl Serialize for CompiledFunctionUnwindInfo[src]

impl StructuralEq for CompiledFunctionUnwindInfo[src]

impl StructuralPartialEq for CompiledFunctionUnwindInfo[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> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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

type Owned = T

The resulting type after obtaining ownership.

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.