pub struct RemoteLimits {
pub deadline_ms: Option<u64>,
pub max_bytes: u64,
pub max_items: u64,
pub max_collection_members: u64,
}Expand description
Caller execution budgets carried with one remote invocation.
Budgets tighten provider and session ceilings; they never raise them.
Fields§
§deadline_ms: Option<u64>Optional wall-clock deadline in milliseconds.
max_bytes: u64Maximum successful typed-response bytes the caller accepts.
Authenticated structured failures are control-plane evidence bounded by
MAX_REMOTE_ENVELOPE_BYTES, not by this success-data budget. This lets
an executor report that even the smallest success cannot fit when the
caller deliberately supplies a zero or otherwise tiny budget.
max_items: u64Maximum answer items the caller accepts.
max_collection_members: u64Maximum aggregate list members the caller accepts across documents.
Trait Implementations§
Source§impl Clone for RemoteLimits
impl Clone for RemoteLimits
Source§fn clone(&self) -> RemoteLimits
fn clone(&self) -> RemoteLimits
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 moreimpl Copy for RemoteLimits
Source§impl Debug for RemoteLimits
impl Debug for RemoteLimits
Source§impl<'de> Deserialize<'de> for RemoteLimits
impl<'de> Deserialize<'de> for RemoteLimits
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for RemoteLimits
Source§impl PartialEq for RemoteLimits
impl PartialEq for RemoteLimits
Source§impl Serialize for RemoteLimits
impl Serialize for RemoteLimits
impl StructuralPartialEq for RemoteLimits
Auto Trait Implementations§
impl Freeze for RemoteLimits
impl RefUnwindSafe for RemoteLimits
impl Send for RemoteLimits
impl Sync for RemoteLimits
impl Unpin for RemoteLimits
impl UnsafeUnpin for RemoteLimits
impl UnwindSafe for RemoteLimits
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