pub struct Health;Expand description
The type corresponding to the Health protocol.
Protocol composed into Driver for performing active health checks and
receiving proactive health alerts.
Trait Implementations§
Source§impl<___H, ___T> DispatchClientMessage<___H, ___T> for Healthwhere
___H: HealthClientHandler<___T> + Send,
___T: Transport,
for<'de> HealthOnHealthAlertRequest<'de>: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
impl<___H, ___T> DispatchClientMessage<___H, ___T> for Healthwhere
___H: HealthClientHandler<___T> + Send,
___T: Transport,
for<'de> HealthOnHealthAlertRequest<'de>: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
Source§impl<___H, ___T> DispatchLocalClientMessage<___H, ___T> for Healthwhere
___H: HealthLocalClientHandler<___T>,
___T: Transport,
for<'de> HealthOnHealthAlertRequest<'de>: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
impl<___H, ___T> DispatchLocalClientMessage<___H, ___T> for Healthwhere
___H: HealthLocalClientHandler<___T>,
___T: Transport,
for<'de> HealthOnHealthAlertRequest<'de>: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
Source§impl<___H, ___T> DispatchLocalServerMessage<___H, ___T> for Healthwhere
___H: HealthLocalServerHandler<___T>,
___T: Transport,
for<'de> HealthHealthCheckRequest: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
impl<___H, ___T> DispatchLocalServerMessage<___H, ___T> for Healthwhere
___H: HealthLocalServerHandler<___T>,
___T: Transport,
for<'de> HealthHealthCheckRequest: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
Source§impl<___H, ___T> DispatchServerMessage<___H, ___T> for Healthwhere
___H: HealthServerHandler<___T> + Send,
___T: Transport,
for<'de> HealthHealthCheckRequest: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
impl<___H, ___T> DispatchServerMessage<___H, ___T> for Healthwhere
___H: HealthServerHandler<___T> + Send,
___T: Transport,
for<'de> HealthHealthCheckRequest: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
Source§impl HasTransport for Health
Available on crate feature driver only.
impl HasTransport for Health
Available on crate feature
driver only.Source§type Transport = DriverChannel
type Transport = DriverChannel
The default transport type for this protocol.
impl StructuralPartialEq for Health
Auto Trait Implementations§
impl Freeze for Health
impl RefUnwindSafe for Health
impl Send for Health
impl Sync for Health
impl Unpin for Health
impl UnsafeUnpin for Health
impl UnwindSafe for Health
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> 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]