Struct bee_tangle::tangle_worker::TangleWorker [−][src]
pub struct TangleWorker;
Expand description
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
type Config = TangleConfigThe configuration state required to start this worker.
type Error = Infallible
type Error = InfallibleAn 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]
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]Attempt to instantiate this worker with the given node and worker configuration.
Auto Trait Implementations
impl RefUnwindSafe for TangleWorker
impl Send for TangleWorker
impl Sync for TangleWorker
impl Unpin for TangleWorker
impl UnwindSafe for TangleWorker
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> Same<T> for T
impl<T> Same<T> for Ttype Output = T
type Output = TShould always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,