pub enum ConcurrencyStrategy {
Unbounded,
Legacy,
BytesBased,
}Available on crate feature
polars-io only.Expand description
Determines how in-flight concurrency for access to the back-end store is handled.
Variants§
Unbounded
(Almost) no in-flight concurrency control. Warning: this may result in an unbounded API call rate. Only use in the context of a rate-limited pipeline.
Legacy
In-flight concurrency control using a semi-static count-based budget. NOTE: This is a legacy strategy which does not scale up to the full potential.
BytesBased
In-flight concurrency control using a dynamically sensed bytes-budget, backed by a count-budget as fallback.
Trait Implementations§
Source§impl Clone for ConcurrencyStrategy
impl Clone for ConcurrencyStrategy
Source§fn clone(&self) -> ConcurrencyStrategy
fn clone(&self) -> ConcurrencyStrategy
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 ConcurrencyStrategy
impl Debug for ConcurrencyStrategy
impl Copy for ConcurrencyStrategy
Auto Trait Implementations§
impl Freeze for ConcurrencyStrategy
impl RefUnwindSafe for ConcurrencyStrategy
impl Send for ConcurrencyStrategy
impl Sync for ConcurrencyStrategy
impl Unpin for ConcurrencyStrategy
impl UnsafeUnpin for ConcurrencyStrategy
impl UnwindSafe for ConcurrencyStrategy
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,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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