pub struct Node { /* private fields */ }Expand description
Node state
Trait Implementations§
Source§impl AknShutdown<Node> for ClusterHandle
impl AknShutdown<Node> for ClusterHandle
Source§impl EventLoop<ClusterHandle> for Node
impl EventLoop<ClusterHandle> for Node
Source§impl Init<ClusterHandle> for Node
impl Init<ClusterHandle> for Node
Source§impl Terminating<ClusterHandle> for Node
impl Terminating<ClusterHandle> for Node
Auto Trait Implementations§
impl Freeze for Node
impl !RefUnwindSafe for Node
impl Send for Node
impl Sync for Node
impl Unpin for Node
impl !UnwindSafe for Node
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
Source§impl<T, H> End<H> for Twhere
H: 'static + AknShutdown<T>,
T: Actor<H>,
impl<T, H> End<H> for Twhere
H: 'static + AknShutdown<T>,
T: Actor<H>,
Source§impl<T, H> StartActor<H> for Twhere
H: 'static + AknShutdown<T>,
T: Actor<H>,
impl<T, H> StartActor<H> for Twhere
H: 'static + AknShutdown<T>,
T: Actor<H>,
fn start<'async_trait>(
self,
supervisor: Option<H>,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
Self: Send + 'async_trait,
Source§fn start_abortable<'async_trait>(
self,
abort_registration: AbortRegistration,
supervisor: Option<H>,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
Self: Send + 'async_trait,
fn start_abortable<'async_trait>(
self,
abort_registration: AbortRegistration,
supervisor: Option<H>,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
Self: Send + 'async_trait,
This method will start the actor with abortable event loop by using
let (abort_handle, abort_registration) = AbortHandle::new_pair();