pub struct TransformAsyncOptions {
pub maximum_concurrency: Option<usize>,
pub transform_on_refresh: bool,
}Expand description
The options of TransformAsync and TransformSafeAsync (record struct TransformAsyncOptions(int? MaximumConcurrency, bool TransformOnRefresh)).
Fields§
§maximum_concurrency: Option<usize>The greatest number of transforms in flight at once; None for no limit
(MaximumConcurrency).
transform_on_refresh: boolWhether a refresh transforms the item again (TransformOnRefresh).
Implementations§
Source§impl TransformAsyncOptions
impl TransformAsyncOptions
Sourcepub const DEFAULT: TransformAsyncOptions
pub const DEFAULT: TransformAsyncOptions
No limit of concurrency, and a refresh is forwarded without a new transform (Default).
Trait Implementations§
Source§impl Clone for TransformAsyncOptions
impl Clone for TransformAsyncOptions
impl Copy for TransformAsyncOptions
Source§impl Debug for TransformAsyncOptions
impl Debug for TransformAsyncOptions
Source§impl Default for TransformAsyncOptions
impl Default for TransformAsyncOptions
impl Eq for TransformAsyncOptions
Source§impl Hash for TransformAsyncOptions
impl Hash for TransformAsyncOptions
Source§impl PartialEq for TransformAsyncOptions
impl PartialEq for TransformAsyncOptions
impl StructuralPartialEq for TransformAsyncOptions
Auto Trait Implementations§
impl Freeze for TransformAsyncOptions
impl RefUnwindSafe for TransformAsyncOptions
impl Send for TransformAsyncOptions
impl Sync for TransformAsyncOptions
impl Unpin for TransformAsyncOptions
impl UnsafeUnpin for TransformAsyncOptions
impl UnwindSafe for TransformAsyncOptions
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