Enum riot_coap_handler_demos::saul::Error
source · pub enum Error {
ReadError(NumericError),
WriteError(NumericError),
UnsupportedContentFormat,
FormatError(ContentFormat),
NotAcceptableForIndex,
NotAcceptableForItem,
UnknownContentFormat,
MethodNotAllowedRoot,
MethodNotAllowedItem,
MissingCoAPStackSupport,
BadOption,
NotFound,
}
Variants§
ReadError(NumericError)
WriteError(NumericError)
UnsupportedContentFormat
FormatError(ContentFormat)
NotAcceptableForIndex
NotAcceptableForItem
UnknownContentFormat
MethodNotAllowedRoot
MethodNotAllowedItem
MissingCoAPStackSupport
BadOption
NotFound
Trait Implementations§
source§impl RenderableOnMinimal for Error
impl RenderableOnMinimal for Error
§type Error<IE: RenderableOnMinimal + Debug> = IE
type Error<IE: RenderableOnMinimal + Debug> = IE
Error to return when even the error rendering is unsuccessful (a “double error”). Read more
source§fn render<M: MinimalWritableMessage>(
self,
msg: &mut M
) -> Result<(), M::UnionError>
fn render<M: MinimalWritableMessage>( self, msg: &mut M ) -> Result<(), M::UnionError>
Express the error in a CoAP response message Read more
Auto Trait Implementations§
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
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