Struct elasticsearch::cluster::Cluster[][src]

pub struct Cluster<'a> { /* fields omitted */ }

Namespace client for Cluster APIs

Implementations

impl<'a> Cluster<'a>[src]

pub fn new(transport: &'a Transport) -> Self[src]

Creates a new instance of Cluster

pub fn transport(&self) -> &Transport[src]

pub fn allocation_explain<'b>(&'a self) -> ClusterAllocationExplain<'a, 'b, ()>[src]

Cluster Allocation Explain API

Provides explanations for shard allocations in the cluster.

pub fn delete_component_template<'b>(
    &'a self,
    parts: ClusterDeleteComponentTemplateParts<'b>
) -> ClusterDeleteComponentTemplate<'a, 'b>
[src]

Cluster Delete Component Template API

Deletes a component template

pub fn delete_voting_config_exclusions<'b>(
    &'a self
) -> ClusterDeleteVotingConfigExclusions<'a, 'b>
[src]

Cluster Delete Voting Config Exclusions API

Clears cluster voting config exclusions.

pub fn exists_component_template<'b>(
    &'a self,
    parts: ClusterExistsComponentTemplateParts<'b>
) -> ClusterExistsComponentTemplate<'a, 'b>
[src]

Cluster Exists Component Template API

Returns information about whether a particular component template exist

pub fn get_component_template<'b>(
    &'a self,
    parts: ClusterGetComponentTemplateParts<'b>
) -> ClusterGetComponentTemplate<'a, 'b>
[src]

Cluster Get Component Template API

Returns one or more component templates

pub fn get_settings<'b>(&'a self) -> ClusterGetSettings<'a, 'b>[src]

Cluster Get Settings API

Returns cluster settings.

pub fn health<'b>(
    &'a self,
    parts: ClusterHealthParts<'b>
) -> ClusterHealth<'a, 'b>
[src]

Cluster Health API

Returns basic information about the health of the cluster.

pub fn pending_tasks<'b>(&'a self) -> ClusterPendingTasks<'a, 'b>[src]

Cluster Pending Tasks API

Returns a list of any cluster-level changes (e.g. create index, update mapping, allocate or fail shard) which have not yet been executed.

pub fn post_voting_config_exclusions<'b>(
    &'a self
) -> ClusterPostVotingConfigExclusions<'a, 'b, ()>
[src]

Cluster Post Voting Config Exclusions API

Updates the cluster voting config exclusions by node ids or node names.

pub fn put_component_template<'b>(
    &'a self,
    parts: ClusterPutComponentTemplateParts<'b>
) -> ClusterPutComponentTemplate<'a, 'b, ()>
[src]

Cluster Put Component Template API

Creates or updates a component template

pub fn put_settings<'b>(&'a self) -> ClusterPutSettings<'a, 'b, ()>[src]

Cluster Put Settings API

Updates the cluster settings.

pub fn remote_info<'b>(&'a self) -> ClusterRemoteInfo<'a, 'b>[src]

Cluster Remote Info API

Returns the information about configured remote clusters.

pub fn reroute<'b>(&'a self) -> ClusterReroute<'a, 'b, ()>[src]

Cluster Reroute API

Allows to manually change the allocation of individual shards in the cluster.

pub fn state<'b>(&'a self, parts: ClusterStateParts<'b>) -> ClusterState<'a, 'b>[src]

Cluster State API

Returns a comprehensive information about the state of the cluster.

pub fn stats<'b>(&'a self, parts: ClusterStatsParts<'b>) -> ClusterStats<'a, 'b>[src]

Cluster Stats API

Returns high-level overview of cluster statistics.

Auto Trait Implementations

impl<'a> !RefUnwindSafe for Cluster<'a>

impl<'a> Send for Cluster<'a>

impl<'a> Sync for Cluster<'a>

impl<'a> Unpin for Cluster<'a>

impl<'a> !UnwindSafe for Cluster<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.