Enum rdbg_client::Error
source · pub enum Error {
BadVersion,
BadUtf8(Utf8Error),
CorruptMsg,
}
Expand description
Errors that can occur based on data received from the debugged program
Variants§
BadVersion
The remote debugged program is using a different version of rdbg that is incompatible
BadUtf8(Utf8Error)
A string in the Message was not valid UTF8
CorruptMsg
The binary payload of the Message was corrupted and could not be decoded
Trait Implementations§
source§impl Error for Error
impl Error for Error
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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()