Enum thrift::protocol::TMessageType
source · pub enum TMessageType {
Call,
Reply,
Exception,
OneWay,
}
Expand description
Thrift message types.
Variants§
Call
Service-call request.
Reply
Service-call response.
Exception
Unexpected error in the remote service.
OneWay
One-way service-call request (no response is expected).
Trait Implementations§
source§impl Clone for TMessageType
impl Clone for TMessageType
source§fn clone(&self) -> TMessageType
fn clone(&self) -> TMessageType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TMessageType
impl Debug for TMessageType
source§impl Display for TMessageType
impl Display for TMessageType
source§impl From<TMessageType> for u8
impl From<TMessageType> for u8
source§fn from(message_type: TMessageType) -> Self
fn from(message_type: TMessageType) -> Self
Converts to this type from the input type.