Struct bee_tangle::worker::TangleWorker [−][src]
pub struct TangleWorker;
A type representing a tangle node worker.
Trait Implementations
impl<N: Node> Worker<N> for TangleWorker where
N::Backend: StorageBackend, [src]
impl<N: Node> Worker<N> for TangleWorker where
N::Backend: StorageBackend, [src]type Config = TangleConfig
The configuration state required to start this worker.
type Error = Infallible
An error that may be emitted during node startup and shutdown.
fn start<'life0, 'async_trait>(
node: &'life0 mut N,
config: Self::Config
) -> Pin<Box<dyn Future<Output = Result<Self, Self::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait, [src]
node: &'life0 mut N,
config: Self::Config
) -> Pin<Box<dyn Future<Output = Result<Self, Self::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn stop<'life0, 'async_trait>(
self,
node: &'life0 mut N
) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait, [src]
self,
node: &'life0 mut N
) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
pub fn dependencies() -> &'static [TypeId]ⓘ[src]
Auto Trait Implementations
impl RefUnwindSafe for TangleWorker
impl RefUnwindSafe for TangleWorkerimpl Send for TangleWorker
impl Send for TangleWorkerimpl Sync for TangleWorker
impl Sync for TangleWorkerimpl Unpin for TangleWorker
impl Unpin for TangleWorkerimpl UnwindSafe for TangleWorker
impl UnwindSafe for TangleWorker