Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
MemoryReservation in datafusion::execution::memory_pool - Rust
[go: Go Back, main page]

pub struct MemoryReservation { /* private fields */ }
Expand description

A MemoryReservation tracks a reservation of memory in a MemoryPool that is freed back to the pool on drop

Implementations§

Returns the size of this reservation in bytes

Frees all bytes from this reservation returning the number of bytes freed

Frees capacity bytes from this reservation

Panics

Panics if capacity exceeds Self::size

Sets the size of this reservation to capacity

Increase the size of this reservation by capacity bytes

Try to increase the size of this reservation by capacity bytes

Trait Implementations§

Formats the value using the given formatter. Read more
Executes the destructor for this type. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.