/// Returns the memory that is currently used by the `SystemState`.
Returns the memory that is currently used by the `SystemState`.
Returns the memory that is currently used by the ` SystemState ` .
pub fn memory_usage(&self, own_subnet_type: SubnetType) -> NumBytes {
        if ENFORCE_MESSAGE_MEMORY_USAGE && own_subnet_type != SubnetType::System {
            ((self.queues.memory_usage()) as u64).into()
        } else {
            NumBytes::from(0)
        }
    }
pub fn memory_usage ( & self , own_subnet_type : SubnetType ) -> NumBytes { if ENFORCE_MESSAGE_MEMORY_USAGE && own_subnet_type != SubnetType :: System { ( ( self . queues . memory_usage ( ) ) as u64 ) . into ( ) } else { NumBytes :: from ( 0 ) } }
Returns the memory that is currently used by the `SystemState`.
Returns the memory that is currently used by the ` SystemState ` .
&self
own_subnet_type
SubnetType