pub enum MemoryCheckHold {
Off,
NotDue,
NothingToSend,
Sent,
Cap,
Abort,
Failed,
Unknown(String),
}Expand description
MemoryCheckDetail::hold — whether a turn was held until its memory
check request was sent, and how the hold ended (CLI 2.1.326+).
Variants§
Off
off — the hold is not on for this worker.
NotDue
not_due — the turn was not expected to wait, or that could not be
told.
NothingToSend
nothing_to_send — the request had already been sent or answered,
none was due, or it is one the server may hold (the wait replaces it).
Sent
sent — the hold ended when the request was sent.
Cap
cap — the hold’s time limit came first.
Abort
abort — the turn was stopped.
Failed
failed — the request ended before it was sent.
Unknown(String)
A value not yet known to this version of the crate.
Implementations§
Trait Implementations§
Source§impl Clone for MemoryCheckHold
impl Clone for MemoryCheckHold
Source§impl Debug for MemoryCheckHold
impl Debug for MemoryCheckHold
Source§impl<'de> Deserialize<'de> for MemoryCheckHold
impl<'de> Deserialize<'de> for MemoryCheckHold
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for MemoryCheckHold
impl Display for MemoryCheckHold
impl Eq for MemoryCheckHold
Source§impl From<&str> for MemoryCheckHold
impl From<&str> for MemoryCheckHold
Source§impl Hash for MemoryCheckHold
impl Hash for MemoryCheckHold
Source§impl PartialEq for MemoryCheckHold
impl PartialEq for MemoryCheckHold
Source§impl Serialize for MemoryCheckHold
impl Serialize for MemoryCheckHold
impl StructuralPartialEq for MemoryCheckHold
Auto Trait Implementations§
impl Forget for MemoryCheckHold
impl Freeze for MemoryCheckHold
impl Move for MemoryCheckHold
impl RefUnwindSafe for MemoryCheckHold
impl Send for MemoryCheckHold
impl Sync for MemoryCheckHold
impl Unpin for MemoryCheckHold
impl UnsafeUnpin for MemoryCheckHold
impl UnwindSafe for MemoryCheckHold
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