mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
misc: virtio-devices: streamline error Display::fmt()
The changes were mostly automatically applied using the Python script mentioned in the first commit of this series. Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de> On-behalf-of: SAP philipp.schuster@sap.com
This commit is contained in:
committed by
Rob Bradford
parent
3541cebbf1
commit
8e2973fe7c
@@ -32,10 +32,10 @@ pub enum Error {
|
||||
#[error("TX buffer full")]
|
||||
TxBufFull,
|
||||
/// An I/O error occurred, when attempting to flush the connection TX buffer.
|
||||
#[error("Error flushing TX buffer: {0}")]
|
||||
#[error("Error flushing TX buffer")]
|
||||
TxBufFlush(#[source] std::io::Error),
|
||||
/// An I/O error occurred, when attempting to write data to the host-side stream.
|
||||
#[error("Error writing to host side stream: {0}")]
|
||||
#[error("Error writing to host side stream")]
|
||||
StreamWrite(#[source] std::io::Error),
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user