Enum libcoap_rs::error::UriParsingError
source · pub enum UriParsingError {
NotACoapScheme,
}
Variants
NotACoapScheme
URI does not have a valid scheme for libcoap (coap, coaps, coap+tcp, coaps+tcp, http, https).
Trait Implementations
sourceimpl Clone for UriParsingError
impl Clone for UriParsingError
sourcefn clone(&self) -> UriParsingError
fn clone(&self) -> UriParsingError
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 moresourceimpl Debug for UriParsingError
impl Debug for UriParsingError
sourceimpl Display for UriParsingError
impl Display for UriParsingError
sourceimpl Error for UriParsingError
impl Error for UriParsingError
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourceimpl From<UriParsingError> for MessageConversionError
impl From<UriParsingError> for MessageConversionError
sourcefn from(v: UriParsingError) -> Self
fn from(v: UriParsingError) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<UriParsingError> for UriParsingError
impl PartialEq<UriParsingError> for UriParsingError
sourcefn eq(&self, other: &UriParsingError) -> bool
fn eq(&self, other: &UriParsingError) -> bool
impl Copy for UriParsingError
impl Eq for UriParsingError
impl StructuralEq for UriParsingError
impl StructuralPartialEq for UriParsingError
Auto Trait Implementations
impl RefUnwindSafe for UriParsingError
impl Send for UriParsingError
impl Sync for UriParsingError
impl Unpin for UriParsingError
impl UnwindSafe for UriParsingError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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