pub enum WindowsHookError {
Dropped,
Poison(String),
SystemTime(SystemTimeError),
}Expand description
Windows钩子错误
Variants§
Trait Implementations§
Source§impl Debug for WindowsHookError
impl Debug for WindowsHookError
Source§impl Display for WindowsHookError
impl Display for WindowsHookError
Source§impl Error for WindowsHookError
impl Error for WindowsHookError
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<T> From<PoisonError<T>> for WindowsHookError
impl<T> From<PoisonError<T>> for WindowsHookError
Source§fn from(value: PoisonError<T>) -> Self
fn from(value: PoisonError<T>) -> Self
Converts to this type from the input type.
Source§impl From<SystemTimeError> for WindowsHookError
impl From<SystemTimeError> for WindowsHookError
Source§fn from(value: SystemTimeError) -> Self
fn from(value: SystemTimeError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for WindowsHookError
impl RefUnwindSafe for WindowsHookError
impl Send for WindowsHookError
impl Sync for WindowsHookError
impl Unpin for WindowsHookError
impl UnwindSafe for WindowsHookError
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