pub enum DiscoverCmd {
Change(ServiceInstanceKey, Vec<Arc<Instance>>, Vec<Arc<Instance>>),
Insert(DiscoverEntity),
Get(String),
}
Variants§
Change(ServiceInstanceKey, Vec<Arc<Instance>>, Vec<Arc<Instance>>)
Insert(DiscoverEntity)
Get(String)
Trait Implementations§
source§impl Handler<DiscoverCmd> for InnerTonicDiscover
impl Handler<DiscoverCmd> for InnerTonicDiscover
source§impl Message for DiscoverCmd
impl Message for DiscoverCmd
§type Result = Result<DiscoverResult, Error>
type Result = Result<DiscoverResult, Error>
The type of value that this message will resolved with if it is
successful.
Auto Trait Implementations§
impl !RefUnwindSafe for DiscoverCmd
impl Send for DiscoverCmd
impl Sync for DiscoverCmd
impl Unpin for DiscoverCmd
impl !UnwindSafe for DiscoverCmd
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request