pub struct CallContext {
pub remaining_ms: DurationMs,
pub trace_id: String,
pub principal_handle: Vec<u8>,
}Expand description
Passed to every seam call. Time is a value, not a clock read.
Fields§
§remaining_ms: DurationMsTime left before the decision’s deadline when the call was made, by the runtime’s monotonic clock.
trace_id: String§principal_handle: Vec<u8>Opaque to Rustev: passed through for the host’s authorization and cache isolation, never interpreted as authority (spec 001, 3.2).
Trait Implementations§
Source§impl Clone for CallContext
impl Clone for CallContext
Auto Trait Implementations§
impl Freeze for CallContext
impl RefUnwindSafe for CallContext
impl Send for CallContext
impl Sync for CallContext
impl Unpin for CallContext
impl UnsafeUnpin for CallContext
impl UnwindSafe for CallContext
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