pub enum PoolAttribute {
ReuseFollowEventDependencies,
ReuseAllowOpportunistic,
ReuseAllowInternalDependencies,
ReleaseThreshold(u64),
ReservedMemCurrent,
ReservedMemHigh,
UsedMemCurrent,
UsedMemHigh,
}Expand description
Attributes that can be queried or set on a StreamMemoryPool.
Variants§
ReuseFollowEventDependencies
Whether freed blocks can be reused by following event dependencies.
ReuseAllowOpportunistic
Whether freed blocks can be opportunistically reused (without ordering).
ReuseAllowInternalDependencies
Whether the pool may insert internal dependencies for reuse.
ReleaseThreshold(u64)
The release threshold in bytes.
ReservedMemCurrent
Current reserved memory (read-only query).
ReservedMemHigh
High-water mark of reserved memory.
UsedMemCurrent
Current used memory (read-only query).
UsedMemHigh
High-water mark of used memory.
Implementations§
Trait Implementations§
Source§impl Clone for PoolAttribute
impl Clone for PoolAttribute
Source§fn clone(&self) -> PoolAttribute
fn clone(&self) -> PoolAttribute
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PoolAttribute
impl Debug for PoolAttribute
Source§impl PartialEq for PoolAttribute
impl PartialEq for PoolAttribute
impl Copy for PoolAttribute
impl Eq for PoolAttribute
impl StructuralPartialEq for PoolAttribute
Auto Trait Implementations§
impl Freeze for PoolAttribute
impl RefUnwindSafe for PoolAttribute
impl Send for PoolAttribute
impl Sync for PoolAttribute
impl Unpin for PoolAttribute
impl UnsafeUnpin for PoolAttribute
impl UnwindSafe for PoolAttribute
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