Enum rustc_ap_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)

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

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<'a, T> Captures<'a> for T where
    T: ?Sized
[src]

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

impl<T> Erased for T[src]

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

impl<T> Instrument 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> 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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,