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<'a, T> Unpin for PinMut<'a, T> where
T: ?Sized,impl !Unpin for Pinned
impl<T> Unpin for PinBox<T> where
T: ?Sized,