pub enum IpcError {
PeerClosed,
ChannelFull,
ChannelEmpty,
InvalidState,
NotSupported,
StreamError(StreamError),
Other(String),
}
Expand description
Represents errors specific to IPC operations
Variants§
PeerClosed
The other end of the communication channel has been closed
ChannelFull
The IPC channel is full (for bounded channels)
ChannelEmpty
The IPC channel is empty (for non-blocking reads)
InvalidState
Invalid IPC object state
NotSupported
Operation not supported by this IPC type
StreamError(StreamError)
General stream error
Other(String)
Custom error message
Trait Implementations§
Source§impl From<StreamError> for IpcError
impl From<StreamError> for IpcError
Source§fn from(stream_err: StreamError) -> Self
fn from(stream_err: StreamError) -> Self
Converts to this type from the input type.
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
)