(fetched: RemoteResult<IdentityFetch>)
| 89 | |
| 90 | impl ConflictRemote { |
| 91 | fn from_fetch(fetched: RemoteResult<IdentityFetch>) -> Self { |
| 92 | match fetched { |
| 93 | Ok(IdentityFetch::Bound(identity)) => Self::Bound(identity), |
| 94 | Ok(IdentityFetch::Unbound) => Self::Unbound, |
| 95 | // A pre-transport ping or any transport trouble leaves the |
| 96 | // binding unreadable. |
| 97 | Ok(IdentityFetch::Unsupported) | Err(_) => Self::Unknown, |
| 98 | } |
| 99 | } |
| 100 | } |
| 101 | |
| 102 | /// The result of offering the local identity to a remote. |
nothing calls this directly
no outgoing calls
no test coverage detected