Enum rump::message::WampEvent [] [src]

pub enum WampEvent {
    Subscribed {
        message_type: MessageType,
        event_id: u64,
        topic_id: u64,
    },
    Event {
        message_type: MessageType,
        topic_id: u64,
        event_id: u64,
        options: Options,
        has_kwargs: bool,
    },
}

Variants

Subscribed

Fields

message_type
event_id
topic_id
Event

Fields

message_type
topic_id
event_id
options
has_kwargs

Trait Implementations

impl Decodable for WampEvent

fn decode<D: Decoder>(d: &mut D) -> Result<WampEvent, D::Error>