[][src]Struct kernel::AppId

pub struct AppId {
    pub(crate) kernel: &'static Kernel,
    idx: usize,
}

Userspace app identifier.

Fields

kernel: &'static Kernelidx: usize

Methods

impl AppId[src]

pub(crate) fn new(kernel: &'static Kernel, idx: usize) -> AppId[src]

pub fn idx(&self) -> usize[src]

pub fn get_editable_flash_range(&self) -> (usize, usize)[src]

Returns the full address of the start and end of the flash region that the app owns and can write to. This includes the app's code and data and any padding at the end of the app. It does not include the TBF header, or any space that the kernel is using for any potential bookkeeping.

Trait Implementations

impl Debug for AppId[src]

impl PartialEq<AppId> for AppId[src]

impl Eq for AppId[src]

impl Copy for AppId[src]

impl Clone for AppId[src]

Auto Trait Implementations

impl Unpin for AppId

impl !Send for AppId

impl !Sync for AppId

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]