pub struct VirtMemory {
pub memory: u64,
pub max_memory: u64,
}Fields§
§memory: u64Memory used by domain in bytes.
max_memory: u64Maximum memory allowed in bytes.
Trait Implementations§
Source§impl Clone for VirtMemory
impl Clone for VirtMemory
Source§fn clone(&self) -> VirtMemory
fn clone(&self) -> VirtMemory
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 VirtMemory
impl Debug for VirtMemory
Source§impl<'de> Deserialize<'de> for VirtMemory
impl<'de> Deserialize<'de> for VirtMemory
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
Source§impl PartialEq for VirtMemory
impl PartialEq for VirtMemory
Source§impl Serialize for VirtMemory
impl Serialize for VirtMemory
impl Eq for VirtMemory
impl StructuralPartialEq for VirtMemory
Auto Trait Implementations§
impl Freeze for VirtMemory
impl RefUnwindSafe for VirtMemory
impl Send for VirtMemory
impl Sync for VirtMemory
impl Unpin for VirtMemory
impl UnsafeUnpin for VirtMemory
impl UnwindSafe for VirtMemory
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