Enum sesstype::PayloadType [] [src]

pub enum PayloadType {
    BaseType(String),
    Session(Box<Type>),
    Empty,
}

Payload Type carried by a Message.

A PayloadType can be one of:

  • base type: String symbol that maps to a data type (e.g. "bool", "int")
  • closed local type: local session type used for session delegation

Variants

Trait Implementations

impl Debug for PayloadType
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for PayloadType
[src]

[src]

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

1.0.0
[src]

This method tests for !=.