[][src]Struct flowrlib::coordinator::Submission

pub struct Submission {
    pub max_parallel_jobs: usize,
    pub job_timeout: Duration,
    pub debug: bool,
    // some fields omitted
}

A Submission is the struct used to send a flow to the Coordinator for execution. It contains all the information necessary to execute it:

A new Submission is created supplying:

  • the manifest of the flow to execute
  • the maximum number of jobs you want dispatched/executing in parallel
  • whether to display some execution metrics when the flow completes
  • an optional DebugClient to allow you to debug the execution

Fields

max_parallel_jobs: usizejob_timeout: Durationdebug: bool

Implementations

impl Submission[src]

pub fn new(
    manifest_url: &str,
    max_parallel_jobs: usize,
    #[cfg(feature = "debugger")] debug: bool
) -> Submission
[src]

Create a new Submission of a Flow for execution with the specified Manifest of Functions, executing it with a maximum of mac_parallel_jobs running in parallel connecting via the optional DebugClient

Trait Implementations

impl Debug for Submission[src]

impl<'de> Deserialize<'de> for Submission[src]

impl PartialEq<Submission> for Submission[src]

impl Serialize for Submission[src]

impl StructuralPartialEq for Submission[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

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.