pub struct SessionLimits {
pub submission_bytes: usize,
pub retained_source_bytes: usize,
pub declarations: usize,
pub bindings: usize,
pub retained_value_bytes: usize,
pub revisions: u64,
pub call_depth: u32,
pub expression_depth: u32,
}Fields§
§submission_bytes: usize§retained_source_bytes: usize§declarations: usize§bindings: usize§retained_value_bytes: usizeCeiling on retained values’ Debug representation, measured without allocating a serialization buffer. This is not an allocator hard limit.
revisions: u64§call_depth: u32Source-session admitted range 1..=8 calls, clamped to that range.
expression_depth: u32Total evaluation nesting across functions, admitted range 1..=64.
Trait Implementations§
Source§impl Clone for SessionLimits
impl Clone for SessionLimits
Source§impl Debug for SessionLimits
impl Debug for SessionLimits
Auto Trait Implementations§
impl Freeze for SessionLimits
impl RefUnwindSafe for SessionLimits
impl Send for SessionLimits
impl Sync for SessionLimits
impl Unpin for SessionLimits
impl UnsafeUnpin for SessionLimits
impl UnwindSafe for SessionLimits
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