pub struct Shutdown<'a> { /* private fields */ }
Expand description
Namespace client for Shutdown APIs
Implementations§
Source§impl<'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> Freeze for Shutdown<'a>
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§
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