[][src]Struct kernel::AppSlice

pub struct AppSlice<L, T> {
    ptr: AppPtr<L, T>,
    len: usize,
}

Buffer of memory shared from an app to the kernel.

This is the type created after an app calls the allow syscall.

Fields

Methods

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

Number of bytes in the AppSlice.

Get the raw pointer to the buffer. This will be a pointer inside of the app's memory region.

Provide access to one app's AppSlice to another app. This is used for IPC.

Trait Implementations

impl<L, T> AsMut<[T]> for AppSlice<L, T>
[src]

impl<L, T> AsRef<[T]> for AppSlice<L, T>
[src]

Auto Trait Implementations

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

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

Blanket Implementations

impl<T> From for T
[src]

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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