[][src]Struct kernel::AppPtr

pub struct AppPtr<L, T> {
    ptr: Unique<T>,
    process: AppId,
    _phantom: PhantomData<L>,

Base type for an AppSlice that holds the raw pointer to the memory region the app shared with the kernel.


ptr: Unique<T>process: AppId_phantom: PhantomData<L>


impl<L, T> AppPtr<L, T>[src]

unsafe fn new(ptr: *mut T, appid: AppId) -> AppPtr<L, T>[src]

Trait Implementations

impl<L, T> Deref for AppPtr<L, T>[src]

type Target = T

The resulting type after dereferencing.

impl<L, T> DerefMut for AppPtr<L, T>[src]

impl<L, T> Drop for AppPtr<L, T>[src]

Auto Trait Implementations

impl<L, T> Unpin for AppPtr<L, T> where
    L: Unpin,
    T: Unpin

impl<L, T> !Send for AppPtr<L, T>

impl<L, T> !Sync for AppPtr<L, T>

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> Any for T where
    T: 'static + ?Sized