(&self)
| 66 | |
| 67 | impl ToString for PeerConnectedPeerDirection { |
| 68 | fn to_string(&self) -> String { |
| 69 | match self { |
| 70 | PeerConnectedPeerDirection::IN => "IN", |
| 71 | PeerConnectedPeerDirection::OUT => "OUT", |
| 72 | }.to_string() |
| 73 | } |
| 74 | } |
| 75 | |
| 76 | #[derive(Clone, Debug, Deserialize, Serialize)] |
no outgoing calls