Enum fizyr_rpc::MessageType [−][src]
#[repr(u32)]
pub enum MessageType {
Request,
Response,
RequesterUpdate,
ResponderUpdate,
Stream,
}
Expand description
The type of a message.
Variants
A message that initiates a request.
A response message that terminates a request.
An update message sent by the peer that initiated the request.
A response message sent by the peer that received the request.
A stream message that is sent outside of the context of a request.
Implementations
Check if this message type is Self::Request
.
Check if this message type is Self::Response
.
Check if this message type is Self::RequesterUpdate
.
Check if this message type is Self::ResponderUpdate
.
Check if this message type is Self::Stream
.
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for MessageType
impl Send for MessageType
impl Sync for MessageType
impl Unpin for MessageType
impl UnwindSafe for MessageType
Blanket Implementations
Mutably borrows from an owned value. Read more