pub struct GorillaEntry {
pub manifest: GorillaManifest,
pub status: GorillaStatus,
pub metrics: GorillaMetrics,
/* private fields */
}Expand description
Everything the Ring tracks about a single gorilla.
The task_handle is behind a Mutex because JoinHandle is not Clone
and we need interior mutability when starting / stopping background tasks.
Fields§
§manifest: GorillaManifestThe gorilla’s manifest.
status: GorillaStatusCurrent operational status.
metrics: GorillaMetricsRuntime metrics.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GorillaEntry
impl RefUnwindSafe for GorillaEntry
impl Send for GorillaEntry
impl Sync for GorillaEntry
impl Unpin for GorillaEntry
impl UnsafeUnpin for GorillaEntry
impl UnwindSafe for GorillaEntry
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> 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