Enum coap_lite::ResponseType
source · [−]pub enum ResponseType {
Show 28 variants
Created,
Deleted,
Valid,
Changed,
Content,
Continue,
BadRequest,
Unauthorized,
BadOption,
Forbidden,
NotFound,
MethodNotAllowed,
NotAcceptable,
Conflict,
PreconditionFailed,
RequestEntityTooLarge,
UnsupportedContentFormat,
RequestEntityIncomplete,
UnprocessableEntity,
TooManyRequests,
InternalServerError,
NotImplemented,
BadGateway,
ServiceUnavailable,
GatewayTimeout,
ProxyingNotSupported,
HopLimitReached,
UnKnown,
}Expand description
The response codes.
Variants
Created
Deleted
Valid
Changed
Content
Continue
BadRequest
Unauthorized
BadOption
Forbidden
NotFound
MethodNotAllowed
NotAcceptable
Conflict
PreconditionFailed
RequestEntityTooLarge
UnsupportedContentFormat
RequestEntityIncomplete
UnprocessableEntity
TooManyRequests
InternalServerError
NotImplemented
BadGateway
ServiceUnavailable
GatewayTimeout
ProxyingNotSupported
HopLimitReached
UnKnown
Trait Implementations
sourceimpl Clone for ResponseType
impl Clone for ResponseType
sourcefn clone(&self) -> ResponseType
fn clone(&self) -> ResponseType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for ResponseType
impl Debug for ResponseType
sourceimpl PartialEq<ResponseType> for ResponseType
impl PartialEq<ResponseType> for ResponseType
impl Copy for ResponseType
impl StructuralPartialEq for ResponseType
Auto Trait Implementations
impl RefUnwindSafe for ResponseType
impl Send for ResponseType
impl Sync for ResponseType
impl Unpin for ResponseType
impl UnwindSafe for ResponseType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more