pub enum CoapMethod {
Get,
Post,
Put,
Delete,
Fetch,
Patch,
IPatch,
}Expand description
CoAP request/response method codes (RFC 7252 §5.8, §12.1).
Variants§
Get
0.01 GET
Post
0.02 POST
Put
0.03 PUT
Delete
0.04 DELETE
Fetch
0.05 FETCH (RFC 8132)
Patch
0.06 PATCH (RFC 8132)
IPatch
0.07 iPATCH (RFC 8132)
Implementations§
Trait Implementations§
Source§impl Clone for CoapMethod
impl Clone for CoapMethod
Source§fn clone(&self) -> CoapMethod
fn clone(&self) -> CoapMethod
Returns a duplicate 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 CoapMethod
impl Debug for CoapMethod
Source§impl Hash for CoapMethod
impl Hash for CoapMethod
Source§impl PartialEq for CoapMethod
impl PartialEq for CoapMethod
impl Copy for CoapMethod
impl Eq for CoapMethod
impl StructuralPartialEq for CoapMethod
Auto Trait Implementations§
impl Freeze for CoapMethod
impl RefUnwindSafe for CoapMethod
impl Send for CoapMethod
impl Sync for CoapMethod
impl Unpin for CoapMethod
impl UnsafeUnpin for CoapMethod
impl UnwindSafe for CoapMethod
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more