Struct temporal_sdk_core::CoreInitOptions[][src]

pub struct CoreInitOptions {
    pub gateway_opts: ServerGatewayOptions,
    pub evict_after_pending_cleared: bool,
    pub max_outstanding_workflow_tasks: usize,
    pub max_outstanding_activities: usize,
}

Holds various configuration information required to call init

Fields

gateway_opts: ServerGatewayOptions

Options for the connection to the temporal server

evict_after_pending_cleared: bool

If set to true (which should be the default choice until sticky task queues are implemented) workflows are evicted after they no longer have any pending activations. IE: After they have sent new commands to the server.

max_outstanding_workflow_tasks: usize

The maximum allowed number of workflow tasks that will ever be given to lang at one time. Note that one workflow task may require multiple activations - so the WFT counts as “outstanding” until all activations it requires have been completed.

max_outstanding_activities: usize

The maximum allowed number of activity tasks that will ever be given to lang at one time.

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> From<T> for T[src]

impl<T> FutureExt for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> IntoRequest<T> for 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.

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

impl<T> WithSubscriber for T[src]