#[repr(u8)]
pub enum ServerResponse {
Show 28 variants Succeeded, Failed, DataPacket, UpdateSignalIndexCache, UpdateBaseTimes, UpdateCipherKeys, DataStartTime, ProcessingComplete, BufferBlock, Notify, ConfigurationChanged, UserResponse00, UserResponse01, UserResponse02, UserResponse03, UserResponse04, UserResponse05, UserResponse06, UserResponse07, UserResponse08, UserResponse09, UserResponse10, UserResponse11, UserResponse12, UserResponse13, UserResponse14, UserResponse15, NoOP,
}
Expand description

Enumeration of the possible server responses sent by DataPublisher and received by DataSubscriber during an STTP session.

Variants§

§

Succeeded

Response code indicating a succeeded response.

Informs client that its solicited server command succeeded, original command and success message follow.

§

Failed

Response code indicating a failed response.

Informs client that its solicited server command failed, original command and failure message follow.

§

DataPacket

Response code indicating a data packet.

Unsolicited response informs client that a data packet follows.

§

UpdateSignalIndexCache

Response code indicating a signal index cache update.

Unsolicited response requests that client update its runtime signal index cache with the one that follows.

§

UpdateBaseTimes

Response code indicating a runtime base-timestamp offsets have been updated.

Unsolicited response requests that client update its runtime base-timestamp offsets with those that follow.

§

UpdateCipherKeys

Response code indicating a runtime cipher keys have been updated.

Response, solicited or unsolicited, requests that client update its runtime data cipher keys with those that follow.

§

DataStartTime

Response code indicating the start time of data being published.

Unsolicited response provides the start time of data being processed from the first measurement.

§

ProcessingComplete

Response code indicating that processing has completed.

Unsolicited response provides notification that input processing has completed, typically via temporal constraint.

§

BufferBlock

Response code indicating a buffer block.

Unsolicited response informs client that a raw buffer block follows.

§

Notify

Response code indicating a notification.

Unsolicited response provides a notification message to the client.

§

ConfigurationChanged

Response code indicating a that the publisher configuration metadata has changed.

Unsolicited response provides a notification that the publisher’s source configuration has changed and that client may want to request a meta-data refresh.

§

UserResponse00

Response code handling user-defined responses.

§

UserResponse01

Response code handling user-defined responses.

§

UserResponse02

Response code handling user-defined responses.

§

UserResponse03

Response code handling user-defined responses.

§

UserResponse04

Response code handling user-defined responses.

§

UserResponse05

Response code handling user-defined responses.

§

UserResponse06

Response code handling user-defined responses.

§

UserResponse07

Response code handling user-defined responses.

§

UserResponse08

Response code handling user-defined responses.

§

UserResponse09

Response code handling user-defined responses.

§

UserResponse10

Response code handling user-defined responses.

§

UserResponse11

Response code handling user-defined responses.

§

UserResponse12

Response code handling user-defined responses.

§

UserResponse13

Response code handling user-defined responses.

§

UserResponse14

Response code handling user-defined responses.

§

UserResponse15

Response code handling user-defined responses.

§

NoOP

Response code indicating a null-operation keep-alive ping.

The command channel can remain quiet for some time, this command allows a period test of client connectivity.

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
This method tests for self and other values to be equal, and is used by ==.
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.

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.