pub struct Apoptosis { /* private fields */ }Expand description
Отчёт о нехватке памяти, которую не исправить. Запускает апоптоз инстанса: readiness уходит вниз, liveness не меняется, модули останавливаются, процесс занимает память до предела контейнера и снимается ядром. Без предела контейнера процесс завершается с кодом 137.
Модуль получает дескриптор от строителя. Если защита выключена в конфигурации (control.oom
без значения), отчёт ни на что не влияет.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for Apoptosis
impl Freeze for Apoptosis
impl Move for Apoptosis
impl RefUnwindSafe for Apoptosiswhere
Atomic<usize>: RefUnwindSafe,
RwLock<Option<Stop>>: RefUnwindSafe,
AtomicUsize: RefUnwindSafe,
Notify: RefUnwindSafe,
impl Send for Apoptosis
impl Sync for Apoptosis
impl Unpin for Apoptosis
impl UnsafeUnpin for Apoptosiswhere
*const ArcInner<Shared<Option<Stop>>> is !null: UnsafeUnpin,
PhantomData<ArcInner<Shared<Option<Stop>>>>: UnsafeUnpin,
impl UnwindSafe for Apoptosis
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request