summary refs log tree commit diff
path: root/msg_socket
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2020-05-22 00:34:36 +0000
committerAlyssa Ross <hi@alyssa.is>2020-05-22 00:37:26 +0000
commitcda01c9df2b90282e814a1c678925215d21aceb3 (patch)
tree254de9dba287d59285e5711c1f973a93c0bf647d /msg_socket
parentffec75b9c539ee797196061fe1f625ae9932d31e (diff)
downloadcrosvm-cda01c9df2b90282e814a1c678925215d21aceb3.tar
crosvm-cda01c9df2b90282e814a1c678925215d21aceb3.tar.gz
crosvm-cda01c9df2b90282e814a1c678925215d21aceb3.tar.bz2
crosvm-cda01c9df2b90282e814a1c678925215d21aceb3.tar.lz
crosvm-cda01c9df2b90282e814a1c678925215d21aceb3.tar.xz
crosvm-cda01c9df2b90282e814a1c678925215d21aceb3.tar.zst
crosvm-cda01c9df2b90282e814a1c678925215d21aceb3.zip
msg_socket: impl std::error::Error for MsgError
Diffstat (limited to 'msg_socket')
-rw-r--r--msg_socket/src/msg_on_socket.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/msg_socket/src/msg_on_socket.rs b/msg_socket/src/msg_on_socket.rs
index 67d26aa..d263407 100644
--- a/msg_socket/src/msg_on_socket.rs
+++ b/msg_socket/src/msg_on_socket.rs
@@ -72,6 +72,8 @@ impl Display for MsgError {
     }
 }
 
+impl std::error::Error for MsgError {}
+
 /// A msg that could be serialized to and deserialize from array in little endian.
 ///
 /// For structs, we always have fixed size of bytes and fixed count of fds.