Struct wasmbus_rpc::common::Context
source · pub struct Context {
pub actor: Option<String>,
pub span: Option<String>,
}
Expand description
Context - message passing metadata used by wasmhost Actors and Capability Providers
Fields§
§actor: Option<String>
Messages received by Context Provider will have actor set to the actor’s public key
span: Option<String>
Span name/context for tracing. This is a placeholder for now
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Context
impl Send for Context
impl Sync for Context
impl Unpin for Context
impl UnwindSafe for Context
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