pub enum OscoreConfigError {
Invalid,
Unknown,
}
Variants§
Invalid
Tried to get oscore config as raw struct which has been invalidated before
Unknown
Unknown error inside of libcoap, probably due to missing/invalid entries in your oscore config
Trait Implementations§
Source§impl Clone for OscoreConfigError
impl Clone for OscoreConfigError
Source§fn clone(&self) -> OscoreConfigError
fn clone(&self) -> OscoreConfigError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for OscoreConfigError
impl Debug for OscoreConfigError
Source§impl Display for OscoreConfigError
impl Display for OscoreConfigError
Source§impl Error for OscoreConfigError
impl Error for OscoreConfigError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<OscoreConfigError> for OscoreServerCreationError
impl From<OscoreConfigError> for OscoreServerCreationError
Source§fn from(source: OscoreConfigError) -> Self
fn from(source: OscoreConfigError) -> Self
Converts to this type from the input type.
Source§impl From<OscoreConfigError> for SessionCreationError
impl From<OscoreConfigError> for SessionCreationError
Source§fn from(source: OscoreConfigError) -> Self
fn from(source: OscoreConfigError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for OscoreConfigError
impl PartialEq for OscoreConfigError
impl Copy for OscoreConfigError
impl Eq for OscoreConfigError
impl StructuralPartialEq for OscoreConfigError
Auto Trait Implementations§
impl Freeze for OscoreConfigError
impl RefUnwindSafe for OscoreConfigError
impl Send for OscoreConfigError
impl Sync for OscoreConfigError
impl Unpin for OscoreConfigError
impl UnwindSafe for OscoreConfigError
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