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