Enum rustc_target::spec::StackProbeType[−][src]

pub enum StackProbeType {
    None,
    Inline,
    Call,
    InlineOrCall {
        min_llvm_version_for_inline: (u32, u32, u32),
    },
}

Variants

None

Don’t emit any stack probes.

Inline

It is harmless to use this option even on targets that do not have backend support for stack probes as the failure mode is the same as if no stack-probe option was specified in the first place.

Call

Call __rust_probestack whenever stack needs to be probed.

InlineOrCall

Use inline option for LLVM versions later than specified in min_llvm_version_for_inline and call __rust_probestack otherwise.

Fields of InlineOrCall

min_llvm_version_for_inline: (u32, u32, u32)

Implementations

impl StackProbeType[src]

fn from_json(json: &Json) -> Result<Self, String>[src]

Trait Implementations

impl Clone for StackProbeType[src]

impl Debug for StackProbeType[src]

impl Eq for StackProbeType[src]

impl PartialEq<StackProbeType> for StackProbeType[src]

impl StructuralEq for StackProbeType[src]

impl StructuralPartialEq for StackProbeType[src]

impl ToJson for StackProbeType[src]

Auto Trait Implementations

impl RefUnwindSafe for StackProbeType

impl Send for StackProbeType

impl Sync for StackProbeType

impl Unpin for StackProbeType

impl UnwindSafe for StackProbeType

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> MaybeResult<T> for T[src]

type Error = !

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.