Răsfoiți Sursa

Rename multiconnectionmanager module to connectionmanager.

There's no longer any singleconnectionmanager so the distinction is
unnecessary.
Andrew Walbran 1 an în urmă
părinte
comite
a7da5eac2d
2 a modificat fișierele cu 4 adăugiri și 4 ștergeri
  1. 0 0
      src/device/socket/connectionmanager.rs
  2. 4 4
      src/device/socket/mod.rs

+ 0 - 0
src/device/socket/multiconnectionmanager.rs → src/device/socket/connectionmanager.rs


+ 4 - 4
src/device/socket/mod.rs

@@ -7,16 +7,16 @@
 //!
 //! See [`VsockConnectionManager`] for a usage example.
 
-mod error;
 #[cfg(feature = "alloc")]
-mod multiconnectionmanager;
+mod connectionmanager;
+mod error;
 mod protocol;
 #[cfg(feature = "alloc")]
 mod vsock;
 
-pub use error::SocketError;
 #[cfg(feature = "alloc")]
-pub use multiconnectionmanager::VsockConnectionManager;
+pub use connectionmanager::VsockConnectionManager;
+pub use error::SocketError;
 pub use protocol::{VsockAddr, VMADDR_CID_HOST};
 #[cfg(feature = "alloc")]
 pub use vsock::{DisconnectReason, VirtIOSocket, VsockEvent, VsockEventType};