pub struct ShellMemory {
pub job: u64,
pub memory: u64,
}Expand description
A shell container’s memory cap: its record’s profile’s limit when the shell opened.
Fields§
§job: u64The job whose record the shell runs.
memory: u64Its cap in bytes.
Trait Implementations§
Source§impl Clone for ShellMemory
impl Clone for ShellMemory
Source§impl Debug for ShellMemory
impl Debug for ShellMemory
Source§impl<'de> Deserialize<'de> for ShellMemory
impl<'de> Deserialize<'de> for ShellMemory
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
impl Eq for ShellMemory
Source§impl PartialEq for ShellMemory
impl PartialEq for ShellMemory
Source§impl Serialize for ShellMemory
impl Serialize for ShellMemory
impl StructuralPartialEq for ShellMemory
Auto Trait Implementations§
impl Freeze for ShellMemory
impl RefUnwindSafe for ShellMemory
impl Send for ShellMemory
impl Sync for ShellMemory
impl Unpin for ShellMemory
impl UnsafeUnpin for ShellMemory
impl UnwindSafe for ShellMemory
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.