Trait core::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<'a, T: ?Sized> Unpin for PinMut<'a, T>
impl !Unpin for Pinned
impl<'a, T: ?Sized + 'a> Unpin for &'a T
impl<'a, T: ?Sized + 'a> Unpin for &'a mut T
impl Unpin for Waker
impl Unpin for LocalWaker