[−][src]Enum rustc_trait_selection::traits::SkipLeakCheck

pub enum SkipLeakCheck {
    Yes,
    No,
}

Whether to skip the leak check, as part of a future compatibility warning step.

Variants

Yes
No

Implementations

impl SkipLeakCheck[src]

pub(in traits) fn is_yes(
    self
) -> bool
[src]

Trait Implementations

impl Clone for SkipLeakCheck[src]

impl Copy for SkipLeakCheck[src]

impl Debug for SkipLeakCheck[src]

impl Default for SkipLeakCheck[src]

The "default" for skip-leak-check corresponds to the current behavior (do not skip the leak check) -- not the behavior we are transitioning into.

impl Eq for SkipLeakCheck[src]

impl PartialEq<SkipLeakCheck> for SkipLeakCheck[src]

impl StructuralEq for SkipLeakCheck[src]

impl StructuralPartialEq for SkipLeakCheck[src]

Auto Trait Implementations

impl RefUnwindSafe for SkipLeakCheck

impl Send for SkipLeakCheck

impl Sync for SkipLeakCheck

impl Unpin for SkipLeakCheck

impl UnwindSafe for SkipLeakCheck

Blanket Implementations

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

impl<'tcx, T> ArenaAllocatable<'tcx, ()> for T where
    T: Copy, 
[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> 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<T> WithConstness for T[src]