pub enum SetHandlerError {
UnsafeSignal,
UnexpectedLibcCallFailure,
}
Available on Windows and crate feature
signals
only.Expand description
The error produced when setting a signal handler fails.
Variants§
UnsafeSignal
An unsafe signal was attempted to be handled using set_handler
instead of set_unsafe_handler
.
UnexpectedLibcCallFailure
the C library call unexpectedly failed without error information.
Trait Implementations§
Source§impl Clone for SetHandlerError
impl Clone for SetHandlerError
Source§fn clone(&self) -> SetHandlerError
fn clone(&self) -> SetHandlerError
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SetHandlerError
impl Debug for SetHandlerError
Source§impl Hash for SetHandlerError
impl Hash for SetHandlerError
Source§impl PartialEq for SetHandlerError
impl PartialEq for SetHandlerError
impl Copy for SetHandlerError
impl Eq for SetHandlerError
impl StructuralPartialEq for SetHandlerError
Auto Trait Implementations§
impl Freeze for SetHandlerError
impl RefUnwindSafe for SetHandlerError
impl Send for SetHandlerError
impl Sync for SetHandlerError
impl Unpin for SetHandlerError
impl UnwindSafe for SetHandlerError
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