Trait scylla_rs::prelude::AknShutdown[][src]

pub trait AknShutdown<A>: Send {
    #[must_use]
    pub fn aknowledge_shutdown<'async_trait>(
        self,
        state: A,
        status: Result<(), Need>
    ) -> Pin<Box<dyn Future<Output = ()> + 'async_trait + Send, Global>>
    where
        Self: 'async_trait
; }

Should be implemented on the supervisor_handle

Required methods

#[must_use]
pub fn aknowledge_shutdown<'async_trait>(
    self,
    state: A,
    status: Result<(), Need>
) -> Pin<Box<dyn Future<Output = ()> + 'async_trait + Send, Global>> where
    Self: 'async_trait, 
[src]

Child aknowledging shutdown for its supervisor

Loading content...

Implementors

impl AknShutdown<Node> for ClusterHandle[src]

impl AknShutdown<Stage> for NodeHandle[src]

impl<A> AknShutdown<A> for NullSupervisor where
    A: 'static + Send
[src]

impl<H: ScyllaScope> AknShutdown<Cluster> for ScyllaHandle<H>[src]

impl<H: ScyllaScope> AknShutdown<Listener> for ScyllaHandle<H>[src]

impl<H: ScyllaScope> AknShutdown<Websocket> for ScyllaHandle<H>[src]

Loading content...