Docs.rs
  • ic-stable-memory-0.2.4
    • ic-stable-memory 0.2.4
    • Docs.rs crate page
    • MIT
    • Links
    • crates.io
    • Source
    • Owners
    • seniorjoinu
    • Dependencies
      • candid ^0.7.15 normal
      • ic-cdk ^0.5.5 normal
      • serde ^1.0.142 normal
      • speedy ^0.8.2 normal
    • Versions
    • 2.05% of the crate is documented
  • Go to latest version
  • Platform
    • i686-pc-windows-msvc
    • i686-unknown-linux-gnu
    • x86_64-apple-darwin
    • x86_64-pc-windows-msvc
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation
logo

logo

Crate ic_stable_memory

  • Macros
  • Structs
  • Enums
  • Constants
  • Functions
logo
Change settings

List of all items

Structs

  • collections::binary_heap::SBinaryHeap
  • collections::btree_map::SBTreeMap
  • collections::btree_set::SBTreeSet
  • collections::hash_map::SHashMap
  • collections::hash_map::SHashMapIter
  • collections::hash_set::SHashSet
  • collections::vec::SVec
  • primitive::s_slice::SSlice
  • primitive::s_unsafe_cell::SUnsafeCell
  • utils::MemMetrics
  • utils::ic_types::SPrincipal
  • utils::mem_context::OutOfMemory
  • utils::phantom_data::SPhantomData

Enums

  • collections::binary_heap::SHeapType

Macros

  • measure
  • s

Functions

  • _debug_print_allocator
  • _get_custom_data_ptr
  • _set_custom_data_ptr
  • allocate
  • deallocate
  • get_allocated_size
  • get_free_size
  • get_max_allocation_pages
  • get_max_grow_pages
  • get_mem_metrics
  • init_allocator
  • reallocate
  • reinit_allocator
  • reset
  • set_max_allocation_pages
  • set_max_grow_pages
  • stable_memory_init
  • stable_memory_post_upgrade
  • stable_memory_pre_upgrade
  • utils::math::fast_log2
  • utils::math::fast_log2_32
  • utils::math::fast_log2_64
  • utils::mem_context::stable::clear
  • utils::mem_context::stable::grow
  • utils::mem_context::stable::read
  • utils::mem_context::stable::size_pages
  • utils::mem_context::stable::write
  • utils::vars::get_var
  • utils::vars::init_vars
  • utils::vars::reinit_vars
  • utils::vars::set_var
  • utils::vars::store_vars

Constants

  • utils::mem_context::PAGE_SIZE_BYTES