[][src]Enum jnet::coap::Response

pub enum Response {
    Created,
    Deleted,
    Valid,
    Changed,
    Content,
    BadRequest,
    Unauthorized,
    BadOption,
    Forbidden,
    NotFound,
    MethodNotAllowed,
    NotAcceptable,
    PreconditionFailed,
    RequestEntityTooLarge,
    UnsupportedContentFormat,
    InternalServerError,
    NotImplemented,
    BadGateway,
    ServiceUnavailable,
    GatewayTimeout,
    ProxyingNotSupported,
}

CoAP Response Codes

Variants

Created

Created

Deleted

Deleted

Valid

Valid

Changed

Changed

Content

Content

BadRequest

Bad Request

Unauthorized

Unauthorized

BadOption

Bad Option

Forbidden

Forbidden

NotFound

Not Found

MethodNotAllowed

Method Not Allowed

NotAcceptable

Not Acceptable

PreconditionFailed

Precondition Failed

RequestEntityTooLarge

Request Entity Too Large

UnsupportedContentFormat

Unsupported Content-Format

InternalServerError

Internal Server Error

NotImplemented

Not Implemented

BadGateway

Bad Gateway

ServiceUnavailable

Service Unavailable

GatewayTimeout

Gateway Timeout

ProxyingNotSupported

Proxying Not Supported

Trait Implementations

impl From<Response> for Code[src]

impl PartialEq<Response> for Response[src]

impl Debug for Response[src]

impl Copy for Response[src]

impl Clone for Response[src]

Auto Trait Implementations

impl Unpin for Response

impl Send for Response

impl Sync for Response

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T[src]

type Output = T

Should always be Self