pub struct PinnedHandle<H>(H);Tuple Fields§
§0: HImplementations§
Source§impl<H> PinnedHandle<H>
impl<H> PinnedHandle<H>
pub unsafe fn new_unchecked(handle: H) -> Self
Trait Implementations§
Source§impl<H, Output> BorrowPlace<Pin<Output>> for PinnedHandle<H>where
H: BorrowPlace<Output>,
impl<H, Output> BorrowPlace<Pin<Output>> for PinnedHandle<H>where
H: BorrowPlace<Output>,
Source§const ACCESS: AccessKind = H::ACCESS
const ACCESS: AccessKind = H::ACCESS
The access permissions to the place required by
Self::borrow.Source§type Timing = <H as BorrowPlace<Output>>::Timing
type Timing = <H as BorrowPlace<Output>>::Timing
The timing of the access permissions of
Self::borrow.Source§impl<H, PointeeTiming, PointerTiming> DerefPlace<PointeeTiming, PointerTiming> for PinnedHandle<H>where
Self::Target: CreateHandle<PointeeTiming>,
H: DerefPlace<PointeeTiming, PointerTiming>,
PointeeTiming: Timing,
PointerTiming: Timing,
impl<H, PointeeTiming, PointerTiming> DerefPlace<PointeeTiming, PointerTiming> for PinnedHandle<H>where
Self::Target: CreateHandle<PointeeTiming>,
H: DerefPlace<PointeeTiming, PointerTiming>,
PointeeTiming: Timing,
PointerTiming: Timing,
Source§const POINTEE_ACCESS: AccessKind = H::POINTEE_ACCESS
const POINTEE_ACCESS: AccessKind = H::POINTEE_ACCESS
The access permissions to the contents of the place handled by
Self
required by Self::deref_place.Source§const POINTER_ACCESS: AccessKind = H::POINTER_ACCESS
const POINTER_ACCESS: AccessKind = H::POINTER_ACCESS
The access permissions to the place handled by
Self required by
Self::deref_place.Source§const SAFE: bool = H::SAFE
const SAFE: bool = H::SAFE
Whether
Self::deref_place is safe when Self::POINTEE_ACCESS and
Self::POINTER_ACCESS are honored for PointeeTiming and
PointerTiming respectively. Read moreunsafe fn deref_place( self, ) -> <Self::Target as CreateHandle<PointeeTiming>>::Handle
Source§impl<H> DropPlace for PinnedHandle<H>where
H: DropPlace,
impl<H> DropPlace for PinnedHandle<H>where
H: DropPlace,
unsafe fn drop_place(self)
impl<H> MovePlace for PinnedHandle<H>
Source§impl<H> PlaceHandle for PinnedHandle<H>where
H: PlaceHandle,
impl<H> PlaceHandle for PinnedHandle<H>where
H: PlaceHandle,
Source§type Target = <H as PlaceHandle>::Target
type Target = <H as PlaceHandle>::Target
The type that’s stored in the place.
Source§impl<H, S> ProjectPlace<S> for PinnedHandle<H>
impl<H, S> ProjectPlace<S> for PinnedHandle<H>
type Projected = <S as PinnableSubplace>::StructualPinning<<H as ProjectPlace<S>>::Projected>
unsafe fn project_place(self, subplace: S) -> Self::Projected
Source§impl<H> ReadMetadata for PinnedHandle<H>where
H: ReadMetadata,
impl<H> ReadMetadata for PinnedHandle<H>where
H: ReadMetadata,
Source§impl<H> ReadPlace for PinnedHandle<H>
impl<H> ReadPlace for PinnedHandle<H>
Source§const ACCESS: AccessKind = H::ACCESS
const ACCESS: AccessKind = H::ACCESS
The access permissions to the place required by
Self::read_place.Source§unsafe fn read_place(self) -> Self::Target
unsafe fn read_place(self) -> Self::Target
Read from the place. Read more
Source§impl<H> WritePlace for PinnedHandle<H>
impl<H> WritePlace for PinnedHandle<H>
Source§const ACCESS: AccessKind = H::ACCESS
const ACCESS: AccessKind = H::ACCESS
The access permissions to the place required by
Self::write_place.Source§unsafe fn write_place(self, value: Self::Target)
unsafe fn write_place(self, value: Self::Target)
Write to the place. Read more
Auto Trait Implementations§
impl<H> Freeze for PinnedHandle<H>where
H: Freeze,
impl<H> RefUnwindSafe for PinnedHandle<H>where
H: RefUnwindSafe,
impl<H> Send for PinnedHandle<H>where
H: Send,
impl<H> Sync for PinnedHandle<H>where
H: Sync,
impl<H> Unpin for PinnedHandle<H>where
H: Unpin,
impl<H> UnsafeUnpin for PinnedHandle<H>where
H: UnsafeUnpin,
impl<H> UnwindSafe for PinnedHandle<H>where
H: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more