[][src]Struct kernel::grant::AppliedGrant

pub struct AppliedGrant<T> {
    appid: AppId,
    grant: *mut T,
    _phantom: PhantomData<T>,
}

Fields

appid: AppIdgrant: *mut T_phantom: PhantomData<T>

Methods

impl<T> AppliedGrant<T>[src]

pub fn enter<F, R>(self, fun: F) -> R where
    F: FnOnce(&mut Owned<T>, &mut Allocator) -> R,
    R: Copy
[src]

Auto Trait Implementations

impl<T> Unpin for AppliedGrant<T> where
    T: Unpin

impl<T> !Send for AppliedGrant<T>

impl<T> !Sync for AppliedGrant<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]