pub struct MkAsyncFrameConfig {
pub arena_size: usize,
pub backpressure: MkBackpressure,
}Expand description
Configuration for async frame allocator.
Fields§
§arena_size: usizeSize of each frame arena.
backpressure: MkBackpressureBackpressure policy when memory is exhausted.
Trait Implementations§
Source§impl Clone for MkAsyncFrameConfig
impl Clone for MkAsyncFrameConfig
Source§fn clone(&self) -> MkAsyncFrameConfig
fn clone(&self) -> MkAsyncFrameConfig
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 MkAsyncFrameConfig
impl Debug for MkAsyncFrameConfig
Auto Trait Implementations§
impl Freeze for MkAsyncFrameConfig
impl RefUnwindSafe for MkAsyncFrameConfig
impl Send for MkAsyncFrameConfig
impl Sync for MkAsyncFrameConfig
impl Unpin for MkAsyncFrameConfig
impl UnwindSafe for MkAsyncFrameConfig
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