pub struct ProviderInvocationContext {
pub request_id: String,
pub actor_id: Option<String>,
pub actor_scopes: Vec<String>,
pub traceparent: Option<String>,
pub tracestate: Option<String>,
pub progress: ProviderProgressReporter,
}Expand description
Authenticated, traceable context carried into an isolated provider runtime.
Fields§
§request_id: String§actor_id: Option<String>§actor_scopes: Vec<String>§traceparent: Option<String>§tracestate: Option<String>§progress: ProviderProgressReporterHost-owned channel used to return capability progress to the surface that initiated this invocation.
Trait Implementations§
Source§impl Clone for ProviderInvocationContext
impl Clone for ProviderInvocationContext
Source§fn clone(&self) -> ProviderInvocationContext
fn clone(&self) -> ProviderInvocationContext
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProviderInvocationContext
impl Debug for ProviderInvocationContext
Source§impl Default for ProviderInvocationContext
impl Default for ProviderInvocationContext
Source§fn default() -> ProviderInvocationContext
fn default() -> ProviderInvocationContext
Returns the “default value” for a type. Read more
Source§impl PartialEq for ProviderInvocationContext
impl PartialEq for ProviderInvocationContext
Source§fn eq(&self, other: &ProviderInvocationContext) -> bool
fn eq(&self, other: &ProviderInvocationContext) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ProviderInvocationContext
impl StructuralPartialEq for ProviderInvocationContext
Auto Trait Implementations§
impl Freeze for ProviderInvocationContext
impl RefUnwindSafe for ProviderInvocationContext
impl Send for ProviderInvocationContext
impl Sync for ProviderInvocationContext
impl Unpin for ProviderInvocationContext
impl UnsafeUnpin for ProviderInvocationContext
impl UnwindSafe for ProviderInvocationContext
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.