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§
fn with_context<T>(&mut self, f: impl FnOnce(&mut IpcBuffer) -> T) -> T
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.