pub struct HLCError(/* private fields */);
Expand description
Represents errors that occur in the use of an HLC
Implementations§
Source§impl HLCError
impl HLCError
Sourcepub fn kind(&self) -> &HLCErrorKind
pub fn kind(&self) -> &HLCErrorKind
Returns the corresponding HLCErrorKind
for this error
Trait Implementations§
Source§impl Error for HLCError
impl Error for HLCError
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<HLCError> for AIOProtocolError
impl From<HLCError> for AIOProtocolError
Source§impl From<HLCErrorKind> for HLCError
impl From<HLCErrorKind> for HLCError
Source§fn from(source: HLCErrorKind) -> Self
fn from(source: HLCErrorKind) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for HLCError
impl RefUnwindSafe for HLCError
impl Send for HLCError
impl Sync for HLCError
impl Unpin for HLCError
impl UnwindSafe for HLCError
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