pub fn limits() -> Result<Limits>
This process’s resource limits. Windows has no rlimit: the job object’s limits when there is one, otherwise every value None.
rlimit
None
Os when a call fails.
Os