pub enum ServingStatus {
Unknown,
Serving,
NotServing,
}
Expand description
An enumeration of values representing gRPC service health.
Variants§
Unknown
Unknown status
Serving
The service is currently up and serving requests.
NotServing
The service is currently down and not serving requests.
Trait Implementations§
source§impl Clone for ServingStatus
impl Clone for ServingStatus
source§fn clone(&self) -> ServingStatus
fn clone(&self) -> ServingStatus
Returns a copy of the value. Read more
1.6.0 · 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 ServingStatus
impl Debug for ServingStatus
source§impl Display for ServingStatus
impl Display for ServingStatus
source§impl From<ServingStatus> for ServingStatus
impl From<ServingStatus> for ServingStatus
source§fn from(s: ServingStatus) -> Self
fn from(s: ServingStatus) -> Self
Converts to this type from the input type.
source§impl PartialEq for ServingStatus
impl PartialEq for ServingStatus
impl Copy for ServingStatus
impl Eq for ServingStatus
impl StructuralPartialEq for ServingStatus
Auto Trait Implementations§
impl Freeze for ServingStatus
impl RefUnwindSafe for ServingStatus
impl Send for ServingStatus
impl Sync for ServingStatus
impl Unpin for ServingStatus
impl UnwindSafe for ServingStatus
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<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§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