[][src]Trait proxy_wasm::traits::RootContext

pub trait RootContext: Context {
    fn on_vm_start(&mut self, _vm_configuration_size: usize) -> bool { ... }
fn on_configure(&mut self, _plugin_configuration_size: usize) -> bool { ... }
fn get_configuration(&self) -> Option<Bytes> { ... }
fn set_tick_period(&self, period: Duration) { ... }
fn on_tick(&mut self) { ... }
fn on_queue_ready(&mut self, _queue_id: u32) { ... }
fn on_log(&mut self) { ... } }

Provided methods

fn on_vm_start(&mut self, _vm_configuration_size: usize) -> bool

fn on_configure(&mut self, _plugin_configuration_size: usize) -> bool

fn get_configuration(&self) -> Option<Bytes>

fn set_tick_period(&self, period: Duration)

fn on_tick(&mut self)

fn on_queue_ready(&mut self, _queue_id: u32)

fn on_log(&mut self)

Loading content...

Implementors

Loading content...