Enum network_communicator::Task [] [src]

pub enum Task<T, E> {
    Process {
        data: T,
        configurator: Box<Fn(&mut T, &mut Easy) -> Result<(), Error<E>> + Send + 'static>,
    },
    Terminate,
}

Task for network manager.

Variants

Fields of Process

Methods

impl<T, E> Task<T, E>
[src]

Creates new task with payload