#[non_exhaustive]pub enum ReplyError {
Key(KeyError),
Mistyped(DecodeError),
NoSocket,
Socket {
socket: PathBuf,
error: Error,
},
Answered {
socket: PathBuf,
expected: ReplyStep,
},
Untyped(Untyped),
Ended {
socket: PathBuf,
key: Box<CallKey>,
},
}Expand description
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Key(KeyError)
The text given is not a key’s text form; nothing was sent.
Mistyped(DecodeError)
The value is not one of the call’s result type, and why; no reply was sent.
NoSocket
No socket was given and FLOW_REPLY_SOCKET names none, so there is
no host to send to; nothing was sent.
Socket
The host’s socket at socket failed: no host answers there, or the
connection failed while the reply was under way.
Answered
The host at socket sent something other than the expected frame
about the reply’s call.
Untyped(Untyped)
The host has no result type for the call, and says why; no reply was sent.
Ended
The host at socket ended the connection before it acked the reply to
key: it does not hold the run, the run never made the call, the run’s
program cannot be formed, or it takes no replies of this data version.
Nothing was recorded.
Trait Implementations§
Source§impl Debug for ReplyError
impl Debug for ReplyError
Source§impl Display for ReplyError
impl Display for ReplyError
Source§impl Error for ReplyError
impl Error for ReplyError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()