Enum minimq::MinimqError
source · #[non_exhaustive]pub enum MinimqError {
Protocol(ProtocolError),
Clock(Error),
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Protocol(ProtocolError)
Clock(Error)
Trait Implementations§
source§impl Debug for MinimqError
impl Debug for MinimqError
source§impl From<Error> for MinimqError
impl From<Error> for MinimqError
source§impl<E> From<MinimqError> for Error<E>
impl<E> From<MinimqError> for Error<E>
source§fn from(minimq: MinimqError) -> Self
fn from(minimq: MinimqError) -> Self
Converts to this type from the input type.
source§impl From<ProtocolError> for MinimqError
impl From<ProtocolError> for MinimqError
source§fn from(error: ProtocolError) -> Self
fn from(error: ProtocolError) -> Self
Converts to this type from the input type.
source§impl PartialEq for MinimqError
impl PartialEq for MinimqError
source§fn eq(&self, other: &MinimqError) -> bool
fn eq(&self, other: &MinimqError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for MinimqError
Auto Trait Implementations§
impl Freeze for MinimqError
impl RefUnwindSafe for MinimqError
impl Send for MinimqError
impl Sync for MinimqError
impl Unpin for MinimqError
impl UnwindSafe for MinimqError
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