Enum strymon_model::TopicSchema [] [src]

pub enum TopicSchema {
    Stream(TopicTypeTopicType),
    Service(TopicType),
}

The kind of protocol used in a topic.

A topic can either be a Stream topic, which provides access to a published Timely Dataflow edge, or it be of the Service, which it describes the interface of an request-response kind of service.

See also the strymon_job crate for more information on topics.

Variants

A published Timely stream of type (Timestamp Data).

A service exporting the given Name interface type.

Methods

impl TopicSchema
[src]

[src]

Returns true for any Stream topic.

[src]

Returns true for any Service topic.

Trait Implementations

impl Clone for TopicSchema
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for TopicSchema
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for TopicSchema
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for TopicSchema
[src]

impl Hash for TopicSchema
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Abomonation for TopicSchema
[src]

[src]

Write any additional information about &self beyond its binary representation. Read more

[src]

Reports the number of further bytes required to entomb self.

[src]

Recover any information for &mut self not evident from its binary representation. Read more

impl TypeName for TopicSchema
[src]

[src]

Formats the fully qualified type name using the given formatter.

Returns the canoncial, concrete name of a type as a string. # Examples Read more

Returns the canoncial type of a value as a string. # Examples Read more

impl Display for TopicSchema
[src]

[src]

Formats the value using the given formatter. Read more