fix enum name

This commit is contained in:
yggverse 2024-11-27 16:11:54 +02:00
parent 017a63b4e5
commit cbaa4c0e81

View file

@ -25,7 +25,7 @@ impl Connection {
certificate: Option<TlsCertificate>,
) -> Result<Self, Error> {
if socket_connection.is_closed() {
return Err(Error::Closed);
return Err(Error::SocketConnectionClosed);
}
Ok(Self {