Struct thrift_codec::message::Message [] [src]

pub struct Message { /* fields omitted */ }

RPC message.

Methods

impl Message
[src]

[src]

Makes a new Message instance.

[src]

Makes a new Message instance which has the kind MessageKind::Call.

[src]

Makes a new Message instance which has the kind MessageKind::Reply.

[src]

Makes a new Message instance which has the kind MessageKind::Exception.

[src]

Makes a new Message instance which has the kind MessageKind::Oneway.

[src]

Returns the method name of this message.

[src]

Returns the kind of this message.

[src]

Returns the sequence id of this message.

[src]

Returns the body of this message.

Trait Implementations

impl Debug for Message
[src]

[src]

Formats the value using the given formatter.

impl Clone for Message
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for Message
[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 BinaryDecode for Message
[src]

[src]

Decodes an object.

impl CompactDecode for Message
[src]

[src]

Decodes an object.

impl BinaryEncode for Message
[src]

[src]

Encodes an object.

impl CompactEncode for Message
[src]

[src]

Encodes an object.