pub enum IpcError {
Show 16 variants
InvalidCapability,
ProcessNotFound,
EndpointNotFound,
MessageTooLarge,
OutOfMemory,
WouldBlock,
RateLimitExceeded,
Timeout,
PermissionDenied,
InvalidMessage,
ChannelFull,
ChannelEmpty,
EndpointBusy,
InvalidMemoryRegion,
ResourceBusy,
NotInitialized,
}Expand description
IPC error types
Variants§
InvalidCapability
Invalid or revoked capability
ProcessNotFound
Target process not found
EndpointNotFound
Target endpoint does not exist
MessageTooLarge
Message size exceeds maximum allowed
OutOfMemory
No memory available for operation
WouldBlock
Operation would block but non-blocking mode requested
RateLimitExceeded
Rate limit exceeded for this endpoint
Timeout
Operation timed out
PermissionDenied
Permission denied for the requested operation
InvalidMessage
Invalid message format or parameters
ChannelFull
Channel is full (for async channels)
ChannelEmpty
Channel is empty (for async channels)
EndpointBusy
Endpoint is already bound to another process
InvalidMemoryRegion
Invalid memory region specified
ResourceBusy
Resource temporarily unavailable
NotInitialized
IPC system not initialized
Implementations§
Trait Implementations§
impl Copy for IpcError
impl Eq for IpcError
impl StructuralPartialEq for IpcError
Auto Trait Implementations§
impl Freeze for IpcError
impl RefUnwindSafe for IpcError
impl Send for IpcError
impl Sync for IpcError
impl Unpin for IpcError
impl UnwindSafe for IpcError
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)