Struct kwap_msg::Type [−][src]
pub struct Type(pub u8);
Expand description
Message type:
- 0 Confirmable; “Please let me know when you received this”
- 1 Non-confirmable; “I don’t care if this gets to you”
- 2 Acknowledgement; “I got your message!”
- 3 Reset; “”
See RFC7252 - Message Details for context
Tuple Fields
0: u8
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 Type
impl UnwindSafe for Type
Blanket Implementations
Mutably borrows from an owned value. Read more