pub struct CallInfo {
pub call_id: [u8; 16],
pub procedure: String,
pub realm: [u8; 32],
pub payload: Value,
pub deadline_ms: i128,
pub caller: [u8; 32],
pub ucan_token: Vec<u8>,
}Expand description
The fields a provider needs from an inbound CALL — the
counterpart to CallResponse for the receiving side. Still doesn’t
carry source_route/retry_budget: nothing in the provider role
built so far acts on either. ucan_token IS carried — added for
crate::connection::Session::serve_one_call_gated’s policy check,
which runs before a handler ever sees the call.
Fields§
§call_id: [u8; 16]§procedure: String§realm: [u8; 32]§payload: Value§deadline_ms: i128§caller: [u8; 32]§ucan_token: Vec<u8>Empty if the caller attached none — matches CallSpec::new’s
own default and macula_station_link.erl’s “absent token” case.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CallInfo
impl RefUnwindSafe for CallInfo
impl Send for CallInfo
impl Sync for CallInfo
impl Unpin for CallInfo
impl UnsafeUnpin for CallInfo
impl UnwindSafe for CallInfo
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