Enum coap_lite::RequestType
source · pub enum RequestType {
Get,
Post,
Put,
Delete,
Fetch,
Patch,
IPatch,
UnKnown,
}
Expand description
The request codes.
Variants§
Trait Implementations§
source§impl Clone for RequestType
impl Clone for RequestType
source§fn clone(&self) -> RequestType
fn clone(&self) -> RequestType
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 RequestType
impl Debug for RequestType
source§impl PartialEq for RequestType
impl PartialEq for RequestType
source§fn eq(&self, other: &RequestType) -> bool
fn eq(&self, other: &RequestType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for RequestType
impl StructuralPartialEq for RequestType
Auto Trait Implementations§
impl Freeze for RequestType
impl RefUnwindSafe for RequestType
impl Send for RequestType
impl Sync for RequestType
impl Unpin for RequestType
impl UnwindSafe for RequestType
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