mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-23 17:07:32 +00:00
16 lines
411 B
Rust
16 lines
411 B
Rust
//! Default allocator with no special features
|
|
|
|
/// Always returns Ok
|
|
pub fn trim<I: Into<Option<usize>>>(_: I) -> crate::Result { Ok(()) }
|
|
|
|
/// Always returns None
|
|
#[must_use]
|
|
pub fn memory_stats(_opts: &str) -> Option<String> { None }
|
|
|
|
/// Always returns None
|
|
#[must_use]
|
|
pub fn memory_usage() -> Option<String> { None }
|
|
|
|
#[must_use]
|
|
pub fn memory_usage_stats() -> Option<[(&'static str, usize); 6]> { None }
|