Trait proxy_wasm::traits::RootContext [−][src]
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) { ... } fn create_http_context(
&self,
_context_id: u32
) -> Option<Box<dyn HttpContext>> { ... } fn create_stream_context(
&self,
_context_id: u32
) -> Option<Box<dyn StreamContext>> { ... } fn get_type(&self) -> Option<ContextType> { ... } }
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_queue_ready(&mut self, _queue_id: u32)
fn create_http_context(&self, _context_id: u32) -> Option<Box<dyn HttpContext>>
fn create_stream_context(
&self,
_context_id: u32
) -> Option<Box<dyn StreamContext>>
fn get_type(&self) -> Option<ContextType>