Struct ProviderSourceHealthEvent
pub struct ProviderSourceHealthEvent {
pub source: ProviderSourceIdentity,
pub readiness: ProviderSourceReadiness,
pub status: ProviderSourceHealthStatus,
pub reason: ProviderSourceHealthReason,
pub message: String,
}Expand description
One provider source health transition observed by SOF.
Fields§
§source: ProviderSourceIdentityStable source instance identifier, for example one websocket program feed.
readiness: ProviderSourceReadinessWhether this source participates in readiness gating.
status: ProviderSourceHealthStatusCurrent health state for this source.
reason: ProviderSourceHealthReasonTyped reason for the transition.
message: StringHuman-readable message attached to the transition.
Trait Implementations§
§impl Clone for ProviderSourceHealthEvent
impl Clone for ProviderSourceHealthEvent
§fn clone(&self) -> ProviderSourceHealthEvent
fn clone(&self) -> ProviderSourceHealthEvent
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 more§impl Debug for ProviderSourceHealthEvent
impl Debug for ProviderSourceHealthEvent
§impl From<ProviderSourceHealthEvent> for ProviderStreamUpdate
impl From<ProviderSourceHealthEvent> for ProviderStreamUpdate
§fn from(event: ProviderSourceHealthEvent) -> Self
fn from(event: ProviderSourceHealthEvent) -> Self
Converts to this type from the input type.
§impl PartialEq for ProviderSourceHealthEvent
impl PartialEq for ProviderSourceHealthEvent
impl Eq for ProviderSourceHealthEvent
impl StructuralPartialEq for ProviderSourceHealthEvent
Auto Trait Implementations§
impl Freeze for ProviderSourceHealthEvent
impl RefUnwindSafe for ProviderSourceHealthEvent
impl Send for ProviderSourceHealthEvent
impl Sync for ProviderSourceHealthEvent
impl Unpin for ProviderSourceHealthEvent
impl UnsafeUnpin for ProviderSourceHealthEvent
impl UnwindSafe for ProviderSourceHealthEvent
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more