pub struct Profile { /* private fields */ }Expand description
Validated limits; the caller budgets the actual namespace and blob boundaries.
Implementations§
Source§impl Profile
impl Profile
Sourcepub fn inline(decode_budget: u64, chain_depth: u32) -> Result<Self, ServerError>
pub fn inline(decode_budget: u64, chain_depth: u32) -> Result<Self, ServerError>
Inline verification’s configured retained budget and checked resident bound.
§Errors
Invalid chain geometry or overflow of the conservative resident allowance.
Sourcepub const fn scheduled() -> Self
pub const fn scheduled() -> Self
Current Worker admission: 1 MiB payloads plus canonical framing, 50 delta hops. Resident bound: 16 MiB encoded payload + 28 MiB R-203 decoder scratch
- two canonical entry buffers leaves almost 2 MiB headroom within 48 MiB. Decoder scratch drops before base copies, delta output, object parsing and Arc conversion. That later phase fits eight canonical entry regions alongside the frame, below 25 MiB including metadata. Range collection and its transport copies drop before decoding; even two full-frame copies plus the canonical base fit below 34 MiB. The five-byte header fits headroom. Source-selection descriptors are checkpointed separately across slices.
Sourcepub const fn resident_upper_bound(&self) -> u64
pub const fn resident_upper_bound(&self) -> u64
Conservative per-acquisition resident allowance for startup reporting.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Profile
impl RefUnwindSafe for Profile
impl Send for Profile
impl Sync for Profile
impl Unpin for Profile
impl UnsafeUnpin for Profile
impl UnwindSafe for Profile
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