Struct elasticsearch::nodes::Nodes
source · [−]pub struct Nodes<'a> { /* private fields */ }
Expand description
Namespace client for Nodes APIs
Implementations
sourceimpl<'a> Nodes<'a>
impl<'a> Nodes<'a>
pub fn transport(&self) -> &Transport
sourcepub fn hot_threads<'b>(
&'a self,
parts: NodesHotThreadsParts<'b>
) -> NodesHotThreads<'a, 'b>
pub fn hot_threads<'b>(
&'a self,
parts: NodesHotThreadsParts<'b>
) -> NodesHotThreads<'a, 'b>
Returns information about hot threads on each node in the cluster.
sourcepub fn info<'b>(&'a self, parts: NodesInfoParts<'b>) -> NodesInfo<'a, 'b>
pub fn info<'b>(&'a self, parts: NodesInfoParts<'b>) -> NodesInfo<'a, 'b>
Returns information about nodes in the cluster.
sourcepub fn reload_secure_settings<'b>(
&'a self,
parts: NodesReloadSecureSettingsParts<'b>
) -> NodesReloadSecureSettings<'a, 'b, ()>
pub fn reload_secure_settings<'b>(
&'a self,
parts: NodesReloadSecureSettingsParts<'b>
) -> NodesReloadSecureSettings<'a, 'b, ()>
Nodes Reload Secure Settings API
Reloads secure settings.
sourcepub fn stats<'b>(&'a self, parts: NodesStatsParts<'b>) -> NodesStats<'a, 'b>
pub fn stats<'b>(&'a self, parts: NodesStatsParts<'b>) -> NodesStats<'a, 'b>
Returns statistical information about nodes in the cluster.
sourcepub fn usage<'b>(&'a self, parts: NodesUsageParts<'b>) -> NodesUsage<'a, 'b>
pub fn usage<'b>(&'a self, parts: NodesUsageParts<'b>) -> NodesUsage<'a, 'b>
Returns low-level information about REST actions usage on nodes.
Auto Trait Implementations
impl<'a> !RefUnwindSafe for Nodes<'a>
impl<'a> Send for Nodes<'a>
impl<'a> Sync for Nodes<'a>
impl<'a> Unpin for Nodes<'a>
impl<'a> !UnwindSafe for Nodes<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more