[][src]Struct cortex::worker::InitWorker

pub struct InitWorker {
    pub service: String,
    pub version: f32,
    pub message_size: usize,
    pub source: String,
    pub sink: String,
    pub backend_address: String,
    pub identity: String,
}

Worker for initializing/importing a new corpus into CorTeX

Fields

service: String

name of the service ("init")

version: f32

version, as usual

message_size: usize

message size, as usual

source: String

full URL (including port) to task source/dispatcher

sink: String

full URL (including port) to task sink/receiver

backend_address: String

address to the Task store backend (special case, only for the init service, third-party workers can't access the Task store directly)

identity: String

thread-local unique identifier

Trait Implementations

impl Clone for InitWorker[src]

impl Debug for InitWorker[src]

impl Default for InitWorker[src]

impl Worker for InitWorker[src]

Auto Trait Implementations

impl RefUnwindSafe for InitWorker

impl Send for InitWorker

impl Sync for InitWorker

impl Unpin for InitWorker

impl UnwindSafe for InitWorker

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T, I> AsResult<T, I> for T where
    I: Input, 

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoCollection<T> for T

impl<T> IntoSql for T

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Sealed<T> for T where
    T: ?Sized

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,