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
MemoryConsumer in datafusion::execution::memory_pool - Rust
[go: Go Back, main page]

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

A memory consumer that can be tracked by MemoryReservation in a MemoryPool

Implementations§

Create a new empty MemoryConsumer that can be grown using MemoryReservation

Set whether this allocation can be spilled to disk

Returns true if this allocation can spill to disk

Returns the name associated with this allocation

Registers this MemoryConsumer with the provided MemoryPool returning a MemoryReservation that can be used to grow or shrink the memory reservation

Trait Implementations§

Formats the value using the given formatter. 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.