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

pub trait RootContext: Context {
    pub fn on_vm_start(&mut self, _vm_configuration_size: usize) -> bool { ... }
pub fn on_configure(&mut self, _plugin_configuration_size: usize) -> bool { ... }
pub fn get_configuration(&self) -> Option<Bytes> { ... }
pub fn set_tick_period(&self, period: Duration) { ... }
pub fn on_tick(&mut self) { ... }
pub fn on_queue_ready(&mut self, _queue_id: u32) { ... }
pub fn on_log(&mut self) { ... }
pub fn create_http_context(
        &self,
        _context_id: u32
    ) -> Option<Box<dyn HttpContext>> { ... }
pub fn create_stream_context(
        &self,
        _context_id: u32
    ) -> Option<Box<dyn StreamContext>> { ... }
pub fn get_type(&self) -> Option<ContextType> { ... } }

Provided methods

pub fn on_vm_start(&mut self, _vm_configuration_size: usize) -> bool[src]

pub fn on_configure(&mut self, _plugin_configuration_size: usize) -> bool[src]

pub fn get_configuration(&self) -> Option<Bytes>[src]

pub fn set_tick_period(&self, period: Duration)[src]

pub fn on_tick(&mut self)[src]

pub fn on_queue_ready(&mut self, _queue_id: u32)[src]

pub fn on_log(&mut self)[src]

pub fn create_http_context(
    &self,
    _context_id: u32
) -> Option<Box<dyn HttpContext>>
[src]

pub fn create_stream_context(
    &self,
    _context_id: u32
) -> Option<Box<dyn StreamContext>>
[src]

pub fn get_type(&self) -> Option<ContextType>[src]

Loading content...

Implementors

Loading content...