pub enum Ceiling {
Hit {
limit: NonZeroU64,
},
Unapplied {
limit: NonZeroU64,
why: Unapplied,
},
Unread {
limit: NonZeroU64,
},
}Expand description
How the person’s memory ceiling fared while one command ran.
No variant means “held and not reached”: a command whose ceiling held carries no entry at all, so the model reads nothing it has to discard.
Variants§
Hit
While the command ran, an allocation of the run’s processes was refused at the ceiling.
Fields
§
limit: NonZeroU64The bytes the run’s processes may commit together.
Unapplied
The ceiling was asked for, and the command ran outside it.
Fields
§
limit: NonZeroU64The bytes the person entered.
Unread
The ceiling was set, and whether it was reached cannot be read.
Fields
§
limit: NonZeroU64The bytes the run’s processes may commit together.
Trait Implementations§
impl Copy for Ceiling
impl Eq for Ceiling
impl StructuralPartialEq for Ceiling
Auto Trait Implementations§
impl Freeze for Ceiling
impl RefUnwindSafe for Ceiling
impl Send for Ceiling
impl Sync for Ceiling
impl Unpin for Ceiling
impl UnsafeUnpin for Ceiling
impl UnwindSafe for Ceiling
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