pub enum SignalFdCreationError {
PerProcessFileHandleLimitReached,
SystemWideFileHandleLimitReached,
InsufficientMemory,
UnableToMountInodeDevice,
UnknownError(i32),
}Expand description
Error emitted when creating a new SignalFd.
Variants§
PerProcessFileHandleLimitReached
The process wide file handle limit is reached
SystemWideFileHandleLimitReached
The system wide file handle limit is reached
InsufficientMemory
Insufficient memory available
UnableToMountInodeDevice
The underlying inode device could not be mounted
UnknownError(i32)
An error that was not documented in the POSIX API was reported
Trait Implementations§
Source§impl Clone for SignalFdCreationError
impl Clone for SignalFdCreationError
Source§fn clone(&self) -> SignalFdCreationError
fn clone(&self) -> SignalFdCreationError
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 SignalFdCreationError
impl Debug for SignalFdCreationError
Source§impl Display for SignalFdCreationError
impl Display for SignalFdCreationError
Source§impl Error for SignalFdCreationError
impl Error for SignalFdCreationError
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 Hash for SignalFdCreationError
impl Hash for SignalFdCreationError
Source§impl PartialEq for SignalFdCreationError
impl PartialEq for SignalFdCreationError
impl Copy for SignalFdCreationError
impl Eq for SignalFdCreationError
impl StructuralPartialEq for SignalFdCreationError
Auto Trait Implementations§
impl Freeze for SignalFdCreationError
impl RefUnwindSafe for SignalFdCreationError
impl Send for SignalFdCreationError
impl Sync for SignalFdCreationError
impl Unpin for SignalFdCreationError
impl UnwindSafe for SignalFdCreationError
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