Trait leak_playground_std::marker::Forget

source ·
pub unsafe auto trait Forget { }
Expand description

The core trait of the destruction guarantee.

§Safety

Implement only if you know there’s absolutely no possible way to forget your type.

Implementations on Foreign Types§

source§

impl<T: 'static> Forget for JoinHandle<T>

source§

impl<T: 'static> Forget for JoinHandle<T>

source§

impl<T: ?Sized> Forget for &T

source§

impl<T: ?Sized> Forget for &mut T

Implementors§

source§

impl !Forget for PhantomStaticUnforget

source§

impl<'a, T: ?Sized + 'a> Forget for Unforget<'a, T>

source§

impl<T> Forget for MaybeUninit<T>

source§

impl<T: ?Sized> Forget for ManuallyDrop<T>

impl<T> Forget for Receiver<T>

impl<T> Forget for Sender<T>

impl<T: Forget> Forget for RecvFut<'_, T>

impl<T: Forget> Forget for Receiver<T>

impl<T: Forget> Forget for Sender<T>

Auto implementors§

§

impl<'a, T> Forget for JoinGuard<'a, T>
where 'a: 'static,

§

impl<T> Forget for Rc<T>
where T: Forget,

§

impl<T> Forget for Arc<T>
where T: Forget,

impl Forget for Payload

impl<'a, T> Forget for ScopedJoinHandle<'a, T>
where 'a: 'static, T: Forget,