[−][src]Enum async_coap::Error
Type for errors encountered while sending or receiving CoAP requests and responses.
Variants
InvalidArgument
One or more of the supplied arguments are not valid for the given operation.
OutOfSpace
There is not enough space in the given buffer to complete the operation.
ParseFailure
An error was encountered while attempting to parse the data.
ResponseTimeout
Operation timed out waiting for a response.
BadResponse
The response was well-formed, but not appropriate for the given request.
UnknownMessageCode
The [message code][async-coap::message::MsgCode] was not recognized by this version of rust-async-coap.
UnhandledCriticalOption
A critical option present in the message was not supported.
IOError
An I/O error occurred while performing this operation.
Cancelled
This operation has been cancelled.
HostNotFound
Unable to look up the given host because it was not found.
HostLookupFailure
Unable to look up the given host for an unspecified reason.
ResourceNotFound
The response indicated that the given resource was not found.
The response indicated that the request was unauthorized.
Forbidden
The response indicated that the request was forbidden.
ClientRequestError
The response indicated an unspecified client error.
ServerError
The response indicated an unspecified server error.
Reset
The transaction was reset.
OptionNotRepeatable
More than one instance of an option marked as non-repeatable was encountered.
UnsupportedUriScheme
The given URI scheme is not supported by the associated local endpoint.
Unspecified
An unspecified error has occurred.
Trait Implementations
impl From<Error> for Error
[src]
impl From<Error> for Error
[src]
impl From<Error> for Error
[src]
impl From<ErrorLinkFormat> for Error
[src]
fn from(_: ErrorLinkFormat) -> Self
[src]
impl PartialEq<Error> for Error
[src]
fn eq(&self, other: &Error) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl Default for Error
[src]
impl Extend<Result<(), Error>> for Error
[src]
impl Clone for Error
[src]
fn clone(&self) -> Error
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Eq for Error
[src]
impl Copy for Error
[src]
impl Display for Error
[src]
impl Debug for Error
[src]
impl Hash for Error
[src]
Auto Trait Implementations
impl Send for Error
impl Unpin for Error
impl Sync for Error
impl UnwindSafe for Error
impl RefUnwindSafe for Error
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,