#[repr(u32)]pub enum HealthCheckError {
Timeout = 1,
InternalError = 2,
NotSupported = 3,
InvalidState = 4,
Unavailable = 5,
CommunicationError = 6,
NotFound = 7,
UnknownOrdinal_(u32),
}Expand description
Error codes returned when a health check cannot be completed.
Variants§
Timeout = 1
InternalError = 2
NotSupported = 3
InvalidState = 4
CommunicationError = 6
NotFound = 7
UnknownOrdinal_(u32)
Trait Implementations§
Source§impl Clone for HealthCheckError
impl Clone for HealthCheckError
impl Copy for HealthCheckError
Source§impl Debug for HealthCheckError
impl Debug for HealthCheckError
Source§impl<___E> Encode<HealthCheckError, ___E> for HealthCheckErrorwhere
___E: ?Sized,
impl<___E> Encode<HealthCheckError, ___E> for HealthCheckErrorwhere
___E: ?Sized,
Source§fn encode(
self,
encoder: &mut ___E,
out: &mut MaybeUninit<HealthCheckError>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder: &mut ___E, out: &mut MaybeUninit<HealthCheckError>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§impl<'a, ___E> Encode<HealthCheckError, ___E> for &'a HealthCheckErrorwhere
___E: ?Sized,
impl<'a, ___E> Encode<HealthCheckError, ___E> for &'a HealthCheckErrorwhere
___E: ?Sized,
Source§fn encode(
self,
encoder: &mut ___E,
out: &mut MaybeUninit<HealthCheckError>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder: &mut ___E, out: &mut MaybeUninit<HealthCheckError>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
impl Eq for HealthCheckError
Source§impl From<HealthCheckError> for u32
impl From<HealthCheckError> for u32
Source§fn from(value: HealthCheckError) -> Self
fn from(value: HealthCheckError) -> Self
Converts to this type from the input type.
Source§impl From<HealthCheckError> for HealthCheckError
impl From<HealthCheckError> for HealthCheckError
Source§fn from(wire: HealthCheckError) -> Self
fn from(wire: HealthCheckError) -> Self
Converts to this type from the input type.
Source§impl From<HealthCheckError> for HealthCheckError
impl From<HealthCheckError> for HealthCheckError
Source§fn from(natural: HealthCheckError) -> Self
fn from(natural: HealthCheckError) -> Self
Converts to this type from the input type.
Source§impl From<u32> for HealthCheckError
impl From<u32> for HealthCheckError
Source§impl FromWire<HealthCheckError> for HealthCheckError
impl FromWire<HealthCheckError> for HealthCheckError
Source§fn from_wire(wire: HealthCheckError) -> Self
fn from_wire(wire: HealthCheckError) -> Self
Converts the given owned value to this type.
§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
Source§impl FromWireRef<HealthCheckError> for HealthCheckError
impl FromWireRef<HealthCheckError> for HealthCheckError
Source§fn from_wire_ref(wire: &HealthCheckError) -> Self
fn from_wire_ref(wire: &HealthCheckError) -> Self
Converts the given reference to this type.
Source§impl Hash for HealthCheckError
impl Hash for HealthCheckError
Source§impl Ord for HealthCheckError
impl Ord for HealthCheckError
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for HealthCheckError
impl PartialEq for HealthCheckError
Source§impl PartialOrd for HealthCheckError
impl PartialOrd for HealthCheckError
impl StructuralPartialEq for HealthCheckError
Auto Trait Implementations§
impl Freeze for HealthCheckError
impl RefUnwindSafe for HealthCheckError
impl Send for HealthCheckError
impl Sync for HealthCheckError
impl Unpin for HealthCheckError
impl UnsafeUnpin for HealthCheckError
impl UnwindSafe for HealthCheckError
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,
§impl<T, W> FromWireOption<Box<'_, W>> for Twhere
T: FromWire<W>,
impl<T, W> FromWireOption<Box<'_, W>> for Twhere
T: FromWire<W>,
§fn from_wire_option(wire: Box<'_, W>) -> Option<T>
fn from_wire_option(wire: Box<'_, W>) -> Option<T>
Converts the given owned value to an option of this type.
§impl<T, W> FromWireOptionRef<Box<'_, W>> for Twhere
T: FromWireRef<W>,
impl<T, W> FromWireOptionRef<Box<'_, W>> for Twhere
T: FromWireRef<W>,
§fn from_wire_option_ref(wire: &Box<'_, W>) -> Option<T>
fn from_wire_option_ref(wire: &Box<'_, W>) -> Option<T>
Converts the given reference to an option of this type.
§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T to [Self]