[−][src]Enum elasticsearch::params::Slices
Control the number of slices a task should be divided into. Defaults to Slices::Count(1)
,
meaning the task is not sliced.
When set to Auto
, a task is automatically divided into a reasonable number of slices
When set to Count
with an integer value n
, divides the task into that number of slices
Variants
Automatically divide the task into a reasonable number of slices
Count(i32)
Number of slices to divide a task into
Trait Implementations
impl Clone for Slices
[src]
impl Debug for Slices
[src]
impl Default for Slices
[src]
impl<'de> Deserialize<'de> for Slices
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
impl From<i32> for Slices
[src]
impl PartialEq<Slices> for Slices
[src]
impl Serialize for Slices
[src]
impl StructuralPartialEq for Slices
[src]
Auto Trait Implementations
impl RefUnwindSafe for Slices
impl Send for Slices
impl Sync for Slices
impl Unpin for Slices
impl UnwindSafe for Slices
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> DynClone for T where
T: Clone,
[src]
T: Clone,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,