Trait std::marker::Unpin [−][src]
pub auto trait Unpin { }
Types which can be moved out of a PinMut
.
The Unpin
trait is used to control the behavior of the PinMut
type. If a
type implements Unpin
, it is safe to move a value of that type out of the
PinMut
pointer.
This trait is automatically implemented for almost every type.
Implementors
impl !Unpin for Pinned
impl Unpin for Waker
impl Unpin for LocalWaker
impl<'a, T> Unpin for &'a T where
T: 'a + ?Sized,impl<'a, T> Unpin for &'a mut T where
T: 'a + ?Sized,impl<'a, T> Unpin for PinMut<'a, T> where
T: ?Sized,impl<T> Unpin for PinBox<T> where
T: ?Sized,