Struct kwap_msg::Version [−][src]
pub struct Version(pub u8);
Expand description
Version of the CoAP protocol that the message adheres to.
Right now, this will always be 1, but may support additional values in the future.
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 Version
impl UnwindSafe for Version
Blanket Implementations
Mutably borrows from an owned value. Read more