pub struct NodeShutdownHandle { /* private fields */ }Implementations§
Source§impl NodeShutdownHandle
impl NodeShutdownHandle
pub async fn request_shutdown(&self) -> Result<(), NodeServerError>
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for NodeShutdownHandle
impl !UnwindSafe for NodeShutdownHandle
impl Freeze for NodeShutdownHandle
impl Send for NodeShutdownHandle
impl Sync for NodeShutdownHandle
impl Unpin for NodeShutdownHandle
impl UnsafeUnpin for NodeShutdownHandle
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