(zelf: &Py<Self>, _vm: &VirtualMachine)
| 5147 | // Implement Hashable trait for PySSLCertificate |
| 5148 | impl Hashable for PySSLCertificate { |
| 5149 | fn hash(zelf: &Py<Self>, _vm: &VirtualMachine) -> PyResult<PyHash> { |
| 5150 | let mut hasher = DefaultHasher::new(); |
| 5151 | zelf.der_bytes.hash(&mut hasher); |
| 5152 | Ok(hasher.finish() as PyHash) |
| 5153 | } |
| 5154 | } |
| 5155 | |
| 5156 | // Implement Representable trait for PySSLCertificate |