[][src]Struct kernel::grant::Owned

pub struct Owned<T: ?Sized> {
    data: Unique<T>,
    appid: AppId,
}

Fields

data: Unique<T>appid: AppId

Methods

impl<T: ?Sized> Owned<T>[src]

unsafe fn new(data: *mut T, appid: AppId) -> Owned<T>[src]

pub fn appid(&self) -> AppId[src]

Trait Implementations

impl<T: ?Sized> Deref for Owned<T>[src]

type Target = T

The resulting type after dereferencing.

impl<T: ?Sized> DerefMut for Owned<T>[src]

impl<T: ?Sized> Drop for Owned<T>[src]

Auto Trait Implementations

impl<T: ?Sized> Unpin for Owned<T> where
    T: Unpin

impl<T> !Send for Owned<T>

impl<T> !Sync for Owned<T>

Blanket Implementations

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

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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