Enum coap_lite::MessageClass [−][src]
pub enum MessageClass {
Empty,
Request(RequestType),
Response(ResponseType),
Reserved,
}Expand description
The detailed class (request/response) of a message with the code.
Variants
Tuple Fields of Request
0: RequestTypeTuple Fields of Response
0: ResponseTypeTrait Implementations
Performs the conversion.
Performs the conversion.
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for MessageClass
impl Send for MessageClass
impl Sync for MessageClass
impl Unpin for MessageClass
impl UnwindSafe for MessageClass
Blanket Implementations
Mutably borrows from an owned value. Read more