Trait sel4::InvocationContext

source ·
pub trait InvocationContext {
    // Required method
    fn with_context<T>(&mut self, f: impl FnOnce(&mut IpcBuffer) -> T) -> T;
}
Expand description

A strategy for discovering the current thread’s IPC buffer.

Required Methods§

source

fn with_context<T>(&mut self, f: impl FnOnce(&mut IpcBuffer) -> T) -> T

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<U: InvocationContext> InvocationContext for &RefCell<U>

source§

fn with_context<T>(&mut self, f: impl FnOnce(&mut IpcBuffer) -> T) -> T

source§

impl<U: InvocationContext> InvocationContext for &mut U

source§

fn with_context<T>(&mut self, f: impl FnOnce(&mut IpcBuffer) -> T) -> T

Implementors§