Struct rthrift_tutorial::shared::SharedServiceSyncClient [] [src]

pub struct SharedServiceSyncClient<IP, OP> where
    IP: TInputProtocol,
    OP: TOutputProtocol
{ /* fields omitted */ }

Methods

impl<IP, OP> SharedServiceSyncClient<IP, OP> where
    IP: TInputProtocol,
    OP: TOutputProtocol
[src]

[src]

Trait Implementations

impl<IP, OP> TThriftClient for SharedServiceSyncClient<IP, OP> where
    IP: TInputProtocol,
    OP: TOutputProtocol
[src]

[src]

Returns the input protocol used to read serialized Thrift messages from the Thrift server. Read more

[src]

Returns the output protocol used to write serialized Thrift messages to the Thrift server. Read more

[src]

Returns the sequence number of the last message written to the Thrift server. Returns 0 if no messages have been written. Sequence numbers should never be negative, and this method returns an i32 simply because the Thrift protocol encodes sequence numbers as i32 on the wire. Read more

[src]

Increments the sequence number, indicating that a message with that number has been sent to the Thrift server. Read more

impl<IP, OP> TSharedServiceSyncClientMarker for SharedServiceSyncClient<IP, OP> where
    IP: TInputProtocol,
    OP: TOutputProtocol
[src]