pub struct AllocationEnded {
pub allocation_id: String,
}Expand description
Notification that an allocation has ended.
Sent when pact detects that all processes in the allocation’s cgroup have exited (WI5: cgroup-empty detection). Lattice can also send this proactively if it knows the allocation ended.
Fields§
§allocation_id: StringAllocation identifier.
Trait Implementations§
Source§impl Clone for AllocationEnded
impl Clone for AllocationEnded
Source§fn clone(&self) -> AllocationEnded
fn clone(&self) -> AllocationEnded
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 AllocationEnded
impl Debug for AllocationEnded
Source§impl<'de> Deserialize<'de> for AllocationEnded
impl<'de> Deserialize<'de> for AllocationEnded
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AllocationEnded
impl RefUnwindSafe for AllocationEnded
impl Send for AllocationEnded
impl Sync for AllocationEnded
impl Unpin for AllocationEnded
impl UnsafeUnpin for AllocationEnded
impl UnwindSafe for AllocationEnded
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