pub enum DiscoveryError {
NotFound(String),
AlreadyRegistered(String),
NoHealthyEndpoints(String),
}Expand description
Service discovery error.
Variants§
NotFound(String)
Service not found.
AlreadyRegistered(String)
Service already registered.
NoHealthyEndpoints(String)
No healthy endpoints.
Trait Implementations§
Source§impl Clone for DiscoveryError
impl Clone for DiscoveryError
Source§fn clone(&self) -> DiscoveryError
fn clone(&self) -> DiscoveryError
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DiscoveryError
impl Debug for DiscoveryError
Source§impl PartialEq for DiscoveryError
impl PartialEq for DiscoveryError
impl Eq for DiscoveryError
impl StructuralPartialEq for DiscoveryError
Auto Trait Implementations§
impl Freeze for DiscoveryError
impl RefUnwindSafe for DiscoveryError
impl Send for DiscoveryError
impl Sync for DiscoveryError
impl Unpin for DiscoveryError
impl UnwindSafe for DiscoveryError
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)