pub struct ServiceStatus { /* private fields */ }Implementations§
Source§impl ServiceStatus
impl ServiceStatus
pub fn checked_at<T>(self, value: T) -> Self
pub fn healthy<T>(self, value: T) -> Self
pub fn message<T>(self, value: T) -> Self
pub fn unchanged_since<T>(self, value: T) -> Self
Trait Implementations§
Source§impl Clone for ServiceStatus
impl Clone for ServiceStatus
Source§fn clone(&self) -> ServiceStatus
fn clone(&self) -> ServiceStatus
Returns a duplicate of the value. Read more
1.0.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 ServiceStatus
impl Debug for ServiceStatus
Source§impl Default for ServiceStatus
impl Default for ServiceStatus
Source§impl From<ServiceStatus> for ServiceStatus
impl From<ServiceStatus> for ServiceStatus
Source§fn from(value: ServiceStatus) -> Self
fn from(value: ServiceStatus) -> Self
Converts to this type from the input type.
Source§impl TryFrom<ServiceStatus> for ServiceStatus
impl TryFrom<ServiceStatus> for ServiceStatus
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: ServiceStatus) -> Result<Self, ConversionError>
fn try_from(value: ServiceStatus) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for ServiceStatus
impl RefUnwindSafe for ServiceStatus
impl Send for ServiceStatus
impl Sync for ServiceStatus
impl Unpin for ServiceStatus
impl UnwindSafe for ServiceStatus
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