pub struct Limits {
pub frame_bytes: usize,
pub record_bytes: usize,
pub reply_timeout_ms: u64,
pub flow_steps: usize,
pub request_bytes: usize,
pub connect_timeout_ms: u64,
pub answer_bytes: usize,
}Expand description
The ticket’s limits; every one is positive.
Fields§
§frame_bytes: usizeThe longest JSON-RPC line read from stdin, in bytes.
record_bytes: usizeThe largest topology record accepted from console.topology, in bytes.
reply_timeout_ms: u64How long one routed request may wait for its reply, in milliseconds.
flow_steps: usizeThe most steps one flow may carry.
request_bytes: usizeThe largest request body sent on a subject, in bytes.
connect_timeout_ms: u64How long a loopback server or issuer may take to accept a connection before the seat is refused (AGT-006 R3), in milliseconds; 2000 when unnamed: a local exchange answers in milliseconds.
answer_bytes: usizeThe largest answer liminal mcp writes inline on stdout, in bytes; a
larger one is handed over whole as a file (SRV-052 R2). 16 MiB when
unnamed: an MCP host holds a tool result in memory, and 16 MiB is far
past a page while bounded. Never the stdin line bound.
Implementations§
Source§impl Limits
impl Limits
Sourcepub const fn reply_timeout(&self) -> Duration
pub const fn reply_timeout(&self) -> Duration
The reply timeout as a duration.
Sourcepub const fn connect_timeout(&self) -> Duration
pub const fn connect_timeout(&self) -> Duration
The loopback connect bound as a duration.
Trait Implementations§
impl Copy for Limits
Source§impl<'de> Deserialize<'de> for Limits
impl<'de> Deserialize<'de> for Limits
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>,
impl Eq for Limits
impl StructuralPartialEq for Limits
Auto Trait Implementations§
impl Freeze for Limits
impl RefUnwindSafe for Limits
impl Send for Limits
impl Sync for Limits
impl Unpin for Limits
impl UnsafeUnpin for Limits
impl UnwindSafe for Limits
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.