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.
source§impl PartialEq for TMessageType
impl PartialEq for TMessageType
source§fn eq(&self, other: &TMessageType) -> bool
fn eq(&self, other: &TMessageType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<u8> for TMessageType
impl TryFrom<u8> for TMessageType
impl Copy for TMessageType
impl Eq for TMessageType
impl StructuralPartialEq for TMessageType
Auto Trait Implementations§
impl Freeze for TMessageType
impl RefUnwindSafe for TMessageType
impl Send for TMessageType
impl Sync for TMessageType
impl Unpin for TMessageType
impl UnwindSafe for TMessageType
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)