refactor client byte write / read
This commit is contained in:
@@ -18,6 +18,8 @@ pub enum AppError {
|
||||
NoResponse,
|
||||
#[error("Expected a different response for the executed command")]
|
||||
InvalidCommandResponse,
|
||||
#[error("The binary command data is not structured correctly")]
|
||||
UnexpectedCommandData,
|
||||
#[error("The binary data is not structured correctly")]
|
||||
UnexpectedData,
|
||||
#[error("Failed to convert integer")]
|
||||
TryFromInt(#[from] std::num::TryFromIntError),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user