pub enum TkaSyncError {
NetworkError,
Unsupported,
Internal(TkaSyncInternalErrorKind),
}Expand description
Errors from a TKA-sync RPC.
Variants§
NetworkError
A transient network error; the request may succeed on retry.
Unsupported
Control does not support TKA sync at this endpoint (404/501) — the tailnet has no lock, or the control plane is too old. Callers treat this as “no Authority obtained” and stay inert; it is not an error to surface up the netmap stream.
Internal(TkaSyncInternalErrorKind)
An internal failure (URL/serde/HTTP/UTF-8/size). Detail kept coarse for the public surface.
Trait Implementations§
Source§impl Clone for TkaSyncError
impl Clone for TkaSyncError
Source§fn clone(&self) -> TkaSyncError
fn clone(&self) -> TkaSyncError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TkaSyncError
impl Debug for TkaSyncError
Source§impl Display for TkaSyncError
impl Display for TkaSyncError
impl Eq for TkaSyncError
Source§impl Error for TkaSyncError
impl Error for TkaSyncError
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()
Source§impl From<Error> for TkaSyncError
impl From<Error> for TkaSyncError
Source§impl From<Error> for TkaSyncError
impl From<Error> for TkaSyncError
Source§impl From<ParseError> for TkaSyncError
impl From<ParseError> for TkaSyncError
Source§fn from(error: ParseError) -> Self
fn from(error: ParseError) -> Self
Converts to this type from the input type.
Source§impl From<Utf8Error> for TkaSyncError
impl From<Utf8Error> for TkaSyncError
Source§impl PartialEq for TkaSyncError
impl PartialEq for TkaSyncError
Source§fn eq(&self, other: &TkaSyncError) -> bool
fn eq(&self, other: &TkaSyncError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TkaSyncError
Auto Trait Implementations§
impl Freeze for TkaSyncError
impl RefUnwindSafe for TkaSyncError
impl Send for TkaSyncError
impl Sync for TkaSyncError
impl Unpin for TkaSyncError
impl UnsafeUnpin for TkaSyncError
impl UnwindSafe for TkaSyncError
Blanket Implementations§
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.