Remove unused Reason.Overflow
This commit is contained in:
@@ -4,8 +4,6 @@ pub type Reason {
|
||||
/// from `send`
|
||||
Closed
|
||||
|
||||
Overflow
|
||||
|
||||
/// Address already in use
|
||||
Eaddrinuse
|
||||
/// Cannot assign requested address
|
||||
@@ -160,7 +158,6 @@ pub type Reason {
|
||||
|
||||
pub fn to_string(reason: Reason) -> String {
|
||||
case reason {
|
||||
Overflow -> "overflow"
|
||||
Closed -> "Connection closed (closed)"
|
||||
Eacces -> "Permission denied (eacces)"
|
||||
Eaddrinuse -> "Address already in use (eaddrinuse)"
|
||||
|
||||
Reference in New Issue
Block a user