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
sourceimpl Clone for TMessageType
impl Clone for TMessageType
sourcefn clone(&self) -> TMessageType
fn clone(&self) -> TMessageType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for TMessageType
impl Debug for TMessageType
sourceimpl Display for TMessageType
impl Display for TMessageType
sourceimpl From<TMessageType> for u8
impl From<TMessageType> for u8
sourcefn from(message_type: TMessageType) -> Self
fn from(message_type: TMessageType) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<TMessageType> for TMessageType
impl PartialEq<TMessageType> for TMessageType
sourcefn eq(&self, other: &TMessageType) -> bool
fn eq(&self, other: &TMessageType) -> bool
sourceimpl TryFrom<u8> for TMessageType
impl TryFrom<u8> for TMessageType
impl Copy for TMessageType
impl Eq for TMessageType
impl StructuralEq for TMessageType
impl StructuralPartialEq for TMessageType
Auto Trait Implementations
impl RefUnwindSafe for TMessageType
impl Send for TMessageType
impl Sync for TMessageType
impl Unpin for TMessageType
impl UnwindSafe for TMessageType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more