pub enum IpcRpcError {
IoError(Arc<Error>),
IpcChannelError(Arc<IpcError>),
ConnectTimeout,
HandshakeFailure,
ClientAlreadyConnected,
Disconnected,
ReplyTimeout,
ConnectionDropped,
}Expand description
Errors which can occur with ipc-rpc during operation.
Variants§
IoError(Arc<Error>)
IpcChannelError(Arc<IpcError>)
ConnectTimeout
HandshakeFailure
ClientAlreadyConnected
Disconnected
ReplyTimeout
ConnectionDropped
Trait Implementations§
Source§impl Clone for IpcRpcError
impl Clone for IpcRpcError
Source§fn clone(&self) -> IpcRpcError
fn clone(&self) -> IpcRpcError
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 IpcRpcError
impl Debug for IpcRpcError
Source§impl Display for IpcRpcError
impl Display for IpcRpcError
Source§impl Error for IpcRpcError
impl Error for IpcRpcError
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 From<Error> for IpcRpcError
impl From<Error> for IpcRpcError
Auto Trait Implementations§
impl Freeze for IpcRpcError
impl !RefUnwindSafe for IpcRpcError
impl Send for IpcRpcError
impl Sync for IpcRpcError
impl Unpin for IpcRpcError
impl UnsafeUnpin for IpcRpcError
impl !UnwindSafe for IpcRpcError
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