pub struct ExecutionConfig { /* private fields */ }Expand description
Bounded runtime settings that do not participate in persisted tree identity.
Implementations§
Source§impl ExecutionConfig
impl ExecutionConfig
Sourcepub fn try_new(
read_parallelism: usize,
max_in_flight_bytes: usize,
node_cache_max_nodes: usize,
node_cache_max_bytes: usize,
) -> Result<Self, Error>
pub fn try_new( read_parallelism: usize, max_in_flight_bytes: usize, node_cache_max_nodes: usize, node_cache_max_bytes: usize, ) -> Result<Self, Error>
Construct validated, finite execution limits.
pub fn read_parallelism(&self) -> NonZeroUsize
pub fn max_in_flight_bytes(&self) -> NonZeroUsize
pub fn node_cache_max_nodes(&self) -> NonZeroUsize
pub fn node_cache_max_bytes(&self) -> NonZeroUsize
Trait Implementations§
Source§impl Clone for ExecutionConfig
impl Clone for ExecutionConfig
Source§fn clone(&self) -> ExecutionConfig
fn clone(&self) -> ExecutionConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ExecutionConfig
impl Debug for ExecutionConfig
Source§impl Default for ExecutionConfig
impl Default for ExecutionConfig
impl Eq for ExecutionConfig
Source§impl PartialEq for ExecutionConfig
impl PartialEq for ExecutionConfig
impl StructuralPartialEq for ExecutionConfig
Auto Trait Implementations§
impl Freeze for ExecutionConfig
impl RefUnwindSafe for ExecutionConfig
impl Send for ExecutionConfig
impl Sync for ExecutionConfig
impl Unpin for ExecutionConfig
impl UnsafeUnpin for ExecutionConfig
impl UnwindSafe for ExecutionConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more