Enum rings_node::backend::types::MessageType
source · pub enum MessageType {
Unknown,
Empty,
SimpleText,
HttpRequest,
HttpResponse,
}Expand description
Enum MessageType of BackendMessage.
Variants§
Unknown
unknown
Empty
empty
SimpleText
simple texte
HttpRequest
http request
HttpResponse
http response
Trait Implementations§
source§impl Clone for MessageType
impl Clone for MessageType
source§fn clone(&self) -> MessageType
fn clone(&self) -> MessageType
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 MessageType
impl Debug for MessageType
source§impl From<MessageType> for u16
impl From<MessageType> for u16
source§fn from(v: MessageType) -> Self
fn from(v: MessageType) -> Self
Converts to this type from the input type.