Struct sttp::transport::Defaults

source ·
pub struct Defaults;
Expand description

Defines default values for various STTP settings.

Implementations§

Default for maximum number of retries for a connection attempt.

Default for retry interval in seconds.

Default for maximum retry interval in seconds.

Default for auto-reconnect flag.

Default for auto-request metadata flag.

Default for auto-subscribe flag.

Default for compress payload data flag.

Default for compress metadata flag.

Default for compress signal index cache flag.

Default for metadata filters.

Default for socket timeout in seconds.

Default for STTP version.

Default for filter expression.

Default for throttled flag.

Default for publish interval in seconds.

Default for enable UDP data channel flag.

Default for local port for data channel.

Default for interface for data channel.

Default for include time flag.

Default for enable time reasonability check flag.

Default for lag time in seconds.

Default for lead time in seconds.

Default for use local clock as real time flag.

Default for use millisecond resolution flag.

Default for request NAN-value filter flag.

Default for start time.

Default for stop time.

Default for constraint parameters.

Default for processing interval in seconds.

Default for extra connection string parameters.

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.