pub struct CallSpec {
pub call_id: [u8; 16],
pub procedure: String,
pub realm: [u8; 32],
pub payload: Value,
pub deadline_ms: i128,
pub caller: [u8; 32],
pub source_route: Vec<u8>,
pub retry_budget: u64,
pub ucan_token: Vec<u8>,
}Expand description
Fields for a CALL frame — see plans/PLAN_WIRE_PROTOCOL.md §6.4.
Fields§
§call_id: [u8; 16]§procedure: String§realm: [u8; 32]§payload: Value§deadline_ms: i128§caller: [u8; 32]§source_route: Vec<u8>Opaque source-route header bytes (plans/PLAN_WIRE_PROTOCOL.md
§8) — empty for a direct call to one known station, which is the
only shape this crate builds so far.
retry_budget: u64§ucan_token: Vec<u8>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CallSpec
impl RefUnwindSafe for CallSpec
impl Send for CallSpec
impl Sync for CallSpec
impl Unpin for CallSpec
impl UnsafeUnpin for CallSpec
impl UnwindSafe for CallSpec
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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