Struct elasticsearch::shutdown::Shutdown
source · pub struct Shutdown<'a> { /* private fields */ }
Expand description
Namespace client for Shutdown APIs
Implementations
sourceimpl<'a> Shutdown<'a>
impl<'a> Shutdown<'a>
pub fn transport(&self) -> &Transport
sourcepub fn delete_node<'b>(
&'a self,
parts: ShutdownDeleteNodeParts<'b>
) -> ShutdownDeleteNode<'a, 'b>
pub fn delete_node<'b>(
&'a self,
parts: ShutdownDeleteNodeParts<'b>
) -> ShutdownDeleteNode<'a, 'b>
Removes a node from the shutdown list. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported.
sourcepub fn get_node<'b>(
&'a self,
parts: ShutdownGetNodeParts<'b>
) -> ShutdownGetNode<'a, 'b>
pub fn get_node<'b>(
&'a self,
parts: ShutdownGetNodeParts<'b>
) -> ShutdownGetNode<'a, 'b>
Retrieve status of a node or nodes that are currently marked as shutting down. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported.
sourcepub fn put_node<'b>(
&'a self,
parts: ShutdownPutNodeParts<'b>
) -> ShutdownPutNode<'a, 'b, ()>
pub fn put_node<'b>(
&'a self,
parts: ShutdownPutNodeParts<'b>
) -> ShutdownPutNode<'a, 'b, ()>
Adds a node to be shut down. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported.
Auto Trait Implementations
impl<'a> !RefUnwindSafe for Shutdown<'a>
impl<'a> Send for Shutdown<'a>
impl<'a> Sync for Shutdown<'a>
impl<'a> Unpin for Shutdown<'a>
impl<'a> !UnwindSafe for Shutdown<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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