Skip to main content

effective_limit

Function effective_limit 

Source
pub fn effective_limit(max_bytes: usize) -> usize
Expand description

Computes the effective memory limit after applying the safety margin.

Returns the number of bytes at which writes should be rejected or eviction should begin — always less than the raw configured limit.