pub fn same_endpoint(left: &Endpoint, right: &Endpoint) -> bool
Compare two endpoint identities exactly.