pub enum ResolveError {
ProcedureNotAdvertised,
NoTrustedAdvertisement,
StationEndpointNotFound,
StationEndpointSignerMismatch,
Dht(DhtError),
NoAuthorizedAdvertisement(CertChainError),
}Variants§
ProcedureNotAdvertised
Every find_records attempt came back empty after retrying past
DHT propagation lag.
NoTrustedAdvertisement
Records were found, but none had a valid signature.
StationEndpointNotFound
A resolved station published no reachable (or no longer valid)
station_endpoint after retrying.
StationEndpointSignerMismatch
A station_endpoint record was found under the right key, but its
signer didn’t match the station it’s supposed to describe.
Dht(DhtError)
NoAuthorizedAdvertisement(CertChainError)
resolve_with_cert_chain only: at least one candidate
advertisement’s envelope signature verified (otherwise
ResolveError::NoTrustedAdvertisement would apply instead), but
none passed cert-chain authorization for the expected org — carries
the specific CertChainError from the LAST candidate tried
(absent chain, wrong org, untrusted chain, etc.).
Trait Implementations§
Source§impl Debug for ResolveError
impl Debug for ResolveError
Source§impl Display for ResolveError
impl Display for ResolveError
Source§impl Error for ResolveError
impl Error for ResolveError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl !Freeze for ResolveError
impl RefUnwindSafe for ResolveError
impl Send for ResolveError
impl Sync for ResolveError
impl Unpin for ResolveError
impl UnsafeUnpin for ResolveError
impl UnwindSafe for ResolveError
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more