pub struct WasmAttributes(/* private fields */);Expand description
The following extra attributes are available to Wasm extensions
Implementations§
Source§impl WasmAttributes
impl WasmAttributes
pub fn get() -> Self
Sourcepub fn plugin_name(&self) -> Option<String>
pub fn plugin_name(&self) -> Option<String>
Plugin name
Sourcepub fn plugin_root_id(&self) -> Option<String>
pub fn plugin_root_id(&self) -> Option<String>
Plugin root ID
Sourcepub fn plugin_vm_id(&self) -> Option<String>
pub fn plugin_vm_id(&self) -> Option<String>
Plugin VM ID
Sourcepub fn cluster_name(&self) -> Option<String>
pub fn cluster_name(&self) -> Option<String>
Upstream cluster name
Sourcepub fn cluster_metadata(&self) -> Option<Metadata>
pub fn cluster_metadata(&self) -> Option<Metadata>
Upstream cluster metadata
Sourcepub fn listener_direction(&self) -> Option<ListenerDirection>
pub fn listener_direction(&self) -> Option<ListenerDirection>
Enumeration value of the listener traffic direction
Sourcepub fn listener_metadata(&self) -> Option<Metadata>
pub fn listener_metadata(&self) -> Option<Metadata>
Listener metadata
Sourcepub fn route_name(&self) -> Option<String>
pub fn route_name(&self) -> Option<String>
Route name
Sourcepub fn route_metadata(&self) -> Option<Metadata>
pub fn route_metadata(&self) -> Option<Metadata>
Route metadata
Sourcepub fn upstream_host_metadata(&self) -> Option<Metadata>
pub fn upstream_host_metadata(&self) -> Option<Metadata>
Upstream host metadata
Auto Trait Implementations§
impl Freeze for WasmAttributes
impl RefUnwindSafe for WasmAttributes
impl Send for WasmAttributes
impl Sync for WasmAttributes
impl Unpin for WasmAttributes
impl UnsafeUnpin for WasmAttributes
impl UnwindSafe for WasmAttributes
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more