pub struct Unbounded;Expand description
A budget that never refuses: UnityPy’s behaviour, and the default.
Trait Implementations§
impl Copy for Unbounded
Source§impl MemoryBudget for Unbounded
impl MemoryBudget for Unbounded
Source§fn try_reserve(
&self,
bytes: u64,
_what: Reservation,
) -> Result<Permit, BudgetExceeded>
fn try_reserve( &self, bytes: u64, _what: Reservation, ) -> Result<Permit, BudgetExceeded>
Reserves
bytes, or refuses at once. A successful permit holds exactly
bytes, including when detached from any home.Source§fn allocator_refused(&self, _error: AllocError)
fn allocator_refused(&self, _error: AllocError)
Observes a detected allocator refusal exactly once at its source.
Wrapping or cloning the error must not notify again. Optional work may
absorb it, including settle after a successful registry commit; a batch
caller must audit observations before continuing or publishing. Read more
Auto Trait Implementations§
impl Forget for Unbounded
impl Freeze for Unbounded
impl Move for Unbounded
impl RefUnwindSafe for Unbounded
impl Send for Unbounded
impl Sync for Unbounded
impl Unpin for Unbounded
impl UnsafeUnpin for Unbounded
impl UnwindSafe for Unbounded
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