pub enum OscoreServerCreationError {
OscoreConfigInvalid(OscoreConfigError),
Unknown,
}
Variants§
OscoreConfigInvalid(OscoreConfigError)
Oscore config seems to be invalid, make sure to use it only once
Unknown
Unknown error inside of libcoap
Trait Implementations§
Source§impl Clone for OscoreServerCreationError
impl Clone for OscoreServerCreationError
Source§fn clone(&self) -> OscoreServerCreationError
fn clone(&self) -> OscoreServerCreationError
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 OscoreServerCreationError
impl Debug for OscoreServerCreationError
Source§impl Display for OscoreServerCreationError
impl Display for OscoreServerCreationError
Source§impl Error for OscoreServerCreationError
impl Error for OscoreServerCreationError
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.
impl Copy for OscoreServerCreationError
impl Eq for OscoreServerCreationError
impl StructuralPartialEq for OscoreServerCreationError
Auto Trait Implementations§
impl Freeze for OscoreServerCreationError
impl RefUnwindSafe for OscoreServerCreationError
impl Send for OscoreServerCreationError
impl Sync for OscoreServerCreationError
impl Unpin for OscoreServerCreationError
impl UnwindSafe for OscoreServerCreationError
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